some updates

This commit is contained in:
2022-11-17 21:40:26 +08:00
parent 2417dcfd1f
commit e3416f0e72
5 changed files with 37 additions and 39 deletions

View File

@@ -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