aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-24 07:45:27 +0800
committerGuangxiong Lin <[email protected]>2023-11-24 07:45:27 +0800
commitaccc9d48cb7a20070e36996ef23a73b41ecf0639 (patch)
tree1fb8d26549b16ffaa34b3c33e3560afae6e09c06 /.vim/after
parent1dc4a2b329ccf5960b7ecb952a16a2c43bc779e9 (diff)
downloaddotfiles-accc9d48cb7a20070e36996ef23a73b41ecf0639.tar.gz
dotfiles-accc9d48cb7a20070e36996ef23a73b41ecf0639.tar.bz2
dotfiles-accc9d48cb7a20070e36996ef23a73b41ecf0639.zip
Update vim config
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/ftplugin/markdown.vim2
-rw-r--r--.vim/after/plugin/markdown.vim3
2 files changed, 4 insertions, 1 deletions
diff --git a/.vim/after/ftplugin/markdown.vim b/.vim/after/ftplugin/markdown.vim
index a999f20..9d2b097 100644
--- a/.vim/after/ftplugin/markdown.vim
+++ b/.vim/after/ftplugin/markdown.vim
@@ -1,7 +1,7 @@
nmap <buffer> j gj
nmap <buffer> k gk
-autocmd CursorHold,CursorHoldI <buffer> update
+autocmd CursorHold,CursorHoldI <buffer> silent update
setlocal iskeyword+=[,\-
diff --git a/.vim/after/plugin/markdown.vim b/.vim/after/plugin/markdown.vim
index 83ed7a1..45a65ec 100644
--- a/.vim/after/plugin/markdown.vim
+++ b/.vim/after/plugin/markdown.vim
@@ -1 +1,4 @@
let g:vim_markdown_new_list_item_indent = 2
+let g:vim_markdown_folding_disabled = 0
+
+let g:vim_markdown_frontmatter = 1