This commit is contained in:
2026-06-07 17:06:15 +08:00
parent 693fddbe6f
commit d734377b2e
5 changed files with 32 additions and 23 deletions

View File

@@ -45,7 +45,7 @@ vim.opt.autowrite = true
vim.opt.foldmethod = "indent"
vim.opt.foldlevelstart = 99
-- auto cd to the current file's location
vim.cmd('autocmd BufEnter * silent! lcd %:p:h')
-- vim.cmd('autocmd BufEnter * silent! lcd %:p:h')
-- highlighting for other langs in markdown docs
vim.g.markdown_fenced_languages = {'html', 'vim', 'python', 'c', 'bash=sh'}
-- auto close delimiters (eg. parentheses, brackets)