summaryrefslogtreecommitdiff
path: root/.config/vim
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-30 17:45:13 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-30 17:45:13 +0100
commitb8bc0e5d75970197e731f99aa3c429335c9b1a90 (patch)
treedc5e3ade88670b9c145111f08690b218bd145e92 /.config/vim
parentd21ae86485659e925ac753f79b545d866c9fbdb0 (diff)
downloaddotfiles-b8bc0e5d75970197e731f99aa3c429335c9b1a90.tar.gz
dotfiles-b8bc0e5d75970197e731f99aa3c429335c9b1a90.tar.bz2
dotfiles-b8bc0e5d75970197e731f99aa3c429335c9b1a90.zip
vimrc: add config for json files
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