summaryrefslogtreecommitdiff
path: root/lua/misc.lua
diff options
context:
space:
mode:
authorIan Griffin <migriffin@disroot.org>2022-11-17 21:40:26 +0800
committerIan Griffin <migriffin@disroot.org>2022-11-17 21:40:26 +0800
commite3416f0e727500f2e35a823b917f52106a6db902 (patch)
treea91c5ba9aaa9f31d506d8c5d7288da1b00d007e4 /lua/misc.lua
parent2417dcfd1fd78ec7178dc2e820a5c2f78f474671 (diff)
some updates
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