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'
|
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 |
|
||||||
|
Loading…
Reference in New Issue
Block a user