disable autofolding for neorg

This commit is contained in:
Fabrice Mouhartem 2024-04-18 17:08:57 +02:00
parent 94cddafa6e
commit 029d95e75d
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
callback = function()
vim.g.maplocalleader = ' '
vim.o.conceallevel = 2
vim.o.foldlevelstart = 99
vim.api.nvim_set_keymap("n", "<Leader>nr", ":Neorg return<CR>",
{ noremap = true, silent = true, desc = "[N]eorg [R]eturn" })
end,