Upgrading to latest commit and neovim 0.11.1 #990
Answered
by
kristijanhusak
chipsenkbeil
asked this question in
Q&A
-
Was testing out the latest commit to see about locking in a new version of VersionsErrors
|
Beta Was this translation helpful? Give feedback.
Answered by
kristijanhusak
May 26, 2025
Replies: 1 comment 3 replies
-
I'm using return {
'nvim-orgmode/orgmode',
dependencies = {
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
},
event = 'VeryLazy',
config = function()
local org_root = '~/orgfiles'
-- Support Shift+Return while in insert mode to act as a meta return for orgmode,
-- which does things like add a new headline or new list item from existing item
vim.api.nvim_create_autocmd('FileType', {
pattern = 'org',
callback = function()
vim.keymap.set('i', '<S-CR>', '<CMD>lua require("orgmode").action("org_mappings.meta_return")<CR>', {
silent = true,
buffer = true,
})
end,
})
-- Trim whitespace at end of lines within orgmode documents
vim.api.nvim_create_autocmd('BufWritePre', {
pattern = '*.org',
command = ':%s/\\s\\+$//e',
})
require('orgmode').setup({
-- Collapsed my setup since it shouldn't affect anything
})
-- Reload current file if it's org file to reload tree-sitter
if vim.bo.filetype == 'org' then
vim.cmd([[edit!]])
end
end,
}
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What does
:checkhealth orgmode
give? For 1st error, I assume it's something regarding org-bullets, you can try disabling it temporarily. For 2nd, it seems you didn't update to the newest parser. It should be done automatically though. Try running:Org ts_install_grammar
to force it. Let me know how it goes.