diff options
Diffstat (limited to 'lua/misc.lua')
| -rw-r--r-- | lua/misc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/misc.lua b/lua/misc.lua index 6ec31e4..bbf603b 100644 --- a/lua/misc.lua +++ b/lua/misc.lua @@ -42,7 +42,8 @@ vim.g.netrw_browse_split = 0 -- vim.opt.clipboard = "unnamedplus" vim.opt.compatible = false vim.opt.autowrite = true -vim.opt.foldmethod = "syntax" +vim.opt.foldmethod = "indent" +vim.opt.foldlevelstart = 99 -- auto cd to the current file's location vim.cmd('autocmd BufEnter * silent! lcd %:p:h') -- highlighting for other langs in markdown docs |
