Vim: Lower tab size on JSON files
This commit is contained in:
parent
2d734468b2
commit
0683aeb08a
7
.vimrc
7
.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 |
|
||||
|
Loading…
Reference in New Issue
Block a user