summaryrefslogtreecommitdiff
path: root/lua/misc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/misc.lua')
-rw-r--r--lua/misc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/misc.lua b/lua/misc.lua
index d5bcb51..c2b88e9 100644
--- a/lua/misc.lua
+++ b/lua/misc.lua
@@ -59,6 +59,7 @@ vim.g.netrw_chgwin = 1
--
vim.opt.compatible = false
vim.opt.autowrite = true
+vim.opt.foldmethod = "marker"
-- auto cd to the current file's location
vim.cmd('autocmd BufEnter * silent! lcd %:p:h')
-- highlighting for other langs in markdown docs