summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index f569281..c199d8a 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -145,6 +145,8 @@ autocmd BufNewFile,BufRead *.json set sw=2 ts=2 sts=2 et
" settings for vue files
autocmd BufNewFile,BufRead *.vue set ft=html sw=4 ts=4 sts=4 et
+autocmd BufNewFile,BufRead *.js set cinoptions=:0
+
" vimmanpager stuff
" disable line numbers when using vim as manpager
autocmd FileType man set nonumber nohlsearch nohlsearch