diff options
| author | Ian Griffin <migriffin@disroot.org> | 2025-12-03 23:33:07 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2025-12-03 23:33:07 +0800 |
| commit | 9b4772487b7dffb8e5176292e5e945885f97fcab (patch) | |
| tree | fa9d78551c3844b0ee2f0224758411fd7eb89bce /lua/misc.lua | |
| parent | 12c58d90fb58cae7642364a32760165f33c93ebf (diff) | |
minor updates; show constants in aerial
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 |
