Autoindent with = for python
This commit is contained in:
parent
6ef1691e56
commit
c393536bd6
2
.vimrc
2
.vimrc
@ -138,6 +138,8 @@ if has("autocmd")
|
|||||||
autocmd BufRead,BufNewFile *.py set softtabstop=4
|
autocmd BufRead,BufNewFile *.py set softtabstop=4
|
||||||
autocmd BufRead,BufNewFile *.py set modeline
|
autocmd BufRead,BufNewFile *.py set modeline
|
||||||
autocmd BufRead,BufNewFile *.py set ft=python
|
autocmd BufRead,BufNewFile *.py set ft=python
|
||||||
|
" Indentation with = for python need autopep8
|
||||||
|
autocmd BufRead,BufNewFile *.py set equalprg=autopep8\ -
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
|
Loading…
Reference in New Issue
Block a user