set soft wrap for neorg files
This commit is contained in:
parent
364bbd618f
commit
ab1b0a3ae6
@ -47,6 +47,14 @@ autocmd({ "BufReadPre", "BufEnter", "BufRead", "BufNewFile" },
|
|||||||
require("cmp").setup.buffer({ enabled = false })
|
require("cmp").setup.buffer({ enabled = false })
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
autocmd("Filetype", {
|
||||||
|
pattern = "norg",
|
||||||
|
callback = function()
|
||||||
|
vim.opt.wrap = true
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
vim.opt.conceallevel = 2
|
vim.opt.conceallevel = 2
|
||||||
vim.opt.concealcursor = "n"
|
vim.opt.concealcursor = "n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user