nvim: add folding options (especially for markdown)
This commit is contained in:
parent
d106ea1053
commit
8ff62cef14
@ -58,3 +58,11 @@ vim.cmd([[ autocmd InsertLeave * call system("fcitx5-remote -c") ]])
|
|||||||
|
|
||||||
|
|
||||||
vim.cmd("set clipboard+=unnamedplus")
|
vim.cmd("set clipboard+=unnamedplus")
|
||||||
|
|
||||||
|
|
||||||
|
-- folding
|
||||||
|
vim.opt.fillchars = { fold = " " }
|
||||||
|
vim.opt.foldmethod = "indent"
|
||||||
|
vim.opt.foldenable = false
|
||||||
|
vim.opt.foldlevel = 99
|
||||||
|
vim.g.markdown_folding = 1 -- enable markdown folding
|
||||||
|
Loading…
Reference in New Issue
Block a user