diff --git a/dot_config/nvim/lua/core/options.lua.tmpl b/dot_config/nvim/lua/core/options.lua.tmpl index 8bb97e5..dd46984 100644 --- a/dot_config/nvim/lua/core/options.lua.tmpl +++ b/dot_config/nvim/lua/core/options.lua.tmpl @@ -58,3 +58,11 @@ vim.cmd([[ autocmd InsertLeave * call system("fcitx5-remote -c") ]]) 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