summaryrefslogtreecommitdiff
path: root/.config/vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/vim')
-rw-r--r--.config/vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index ec8cb6d..b4ef6af 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -138,6 +138,9 @@ autocmd BufNewFile,BufRead /home/ben/src/qbcontact/*{php,html} set sw=4 ts=4 sts
autocmd BufNewFile,BufRead /home/ben/src/systemd/* set sw=8 ts=8 sts=8 et
autocmd BufNewFile,BufRead /home/ben/src/systemd/man/*.xml set sw=2 ts=2 sts=2 et
+" settings for json files
+autocmd BufNewFile,BufRead *.json set sw=2 ts=2 sts=2 et
+
" vimmanpager stuff
" disable line numbers when using vim as manpager
autocmd FileType man set nonumber nohlsearch nohlsearch