set soft wrap for neorg files

This commit is contained in:
Lucas Barbieri 2024-02-16 21:40:04 -03:00
parent 364bbd618f
commit ab1b0a3ae6

View File

@ -47,6 +47,14 @@ autocmd({ "BufReadPre", "BufEnter", "BufRead", "BufNewFile" },
require("cmp").setup.buffer({ enabled = false })
end
})
autocmd("Filetype", {
pattern = "norg",
callback = function()
vim.opt.wrap = true
end
})
vim.opt.conceallevel = 2
vim.opt.concealcursor = "n"