From 0683aeb08afc6c34b9913dabb7611b6c1956d556 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 25 Aug 2020 14:00:12 -0500 Subject: [PATCH] Vim: Lower tab size on JSON files --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vimrc b/.vimrc index 59540c8e..2cee01a2 100644 --- a/.vimrc +++ b/.vimrc @@ -52,6 +52,13 @@ let g:lightline = { \} let g:lightline.colorscheme = 'breezy' +" Json +au BufNewFile,BufRead *.json + \ set tabstop=2 | + \ set softtabstop=2 | + \ set shiftwidth=2 | + \ set autoindent | + \ set smartindent " Python au BufNewFile,BufRead *.py " Set up nice PEP8 indentation \ set tabstop=4 |