aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-12-05 20:30:06 +0800
committerGuangxiong Lin <[email protected]>2023-12-05 20:30:06 +0800
commit0f05325fd861a671ede3f68271326c3de2502e5e (patch)
treee0727e6831bcb4455865ac737c6edeed032f0110 /.vim/after/plugin
parent581038be17326f16c22b76a8caf40dfe65e6555e (diff)
downloaddotfiles-0f05325fd861a671ede3f68271326c3de2502e5e.tar.gz
dotfiles-0f05325fd861a671ede3f68271326c3de2502e5e.tar.bz2
dotfiles-0f05325fd861a671ede3f68271326c3de2502e5e.zip
Update vim config
Diffstat (limited to '.vim/after/plugin')
-rw-r--r--.vim/after/plugin/ale.vim2
-rw-r--r--.vim/after/plugin/sneak.vim3
2 files changed, 5 insertions, 0 deletions
diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim
index 3103ef9..ab71dba 100644
--- a/.vim/after/plugin/ale.vim
+++ b/.vim/after/plugin/ale.vim
@@ -7,6 +7,8 @@ let g:ale_sign_warning = 'W>'
let g:ale_hover_cursor = 0
let g:ale_virtualtext_cursor = 1
+autocmd FileType markdown let b:ale_languagetool_options = '--autoDetect --disable WHITESPACE_RULE'
+
nmap <silent> [g <Plug>(ale_previous_wrap)
nmap <silent> ]g <Plug>(ale_next_wrap)
diff --git a/.vim/after/plugin/sneak.vim b/.vim/after/plugin/sneak.vim
new file mode 100644
index 0000000..c0d73d1
--- /dev/null
+++ b/.vim/after/plugin/sneak.vim
@@ -0,0 +1,3 @@
+let g:sneak#use_ic_scs = 1
+
+packadd vim-sneak