Vim: Lower tab size on JSON files

This commit is contained in:
Salt 2020-08-25 14:00:12 -05:00
parent 2d734468b2
commit 0683aeb08a

7
.vimrc
View File

@ -52,6 +52,13 @@ let g:lightline = {
\} \}
let g:lightline.colorscheme = 'breezy' let g:lightline.colorscheme = 'breezy'
" Json
au BufNewFile,BufRead *.json
\ set tabstop=2 |
\ set softtabstop=2 |
\ set shiftwidth=2 |
\ set autoindent |
\ set smartindent
" Python " Python
au BufNewFile,BufRead *.py " Set up nice PEP8 indentation au BufNewFile,BufRead *.py " Set up nice PEP8 indentation
\ set tabstop=4 | \ set tabstop=4 |