summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/autocmds.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/autocmds.vim')
-rw-r--r--.config/nvim/after/plugin/autocmds.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim
index ae55046..21c7bc4 100644
--- a/.config/nvim/after/plugin/autocmds.vim
+++ b/.config/nvim/after/plugin/autocmds.vim
@@ -1,2 +1,7 @@
1" I don't know how to port this yet 1" I don't know how to port this yet
2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif 2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
3
4augroup vimwiki
5 autocmd!
6 autocmd BufRead,BufNewFile *.wiki set filetype=vimwiki
7augroup END