Python indentation
This commit is contained in:
parent
877296af54
commit
bdc2504ca7
1 changed files with 6 additions and 2 deletions
|
|
@ -20,8 +20,12 @@ syntax enable
|
|||
" Create the `tags` file (may need to install ctags first)
|
||||
command! MakeTags !ctags -R .
|
||||
|
||||
" 4 spaces instead of tabs indentation
|
||||
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
|
||||
"Python specific's
|
||||
au BufNewFile,BufRead *.py
|
||||
\ set tabstop=4
|
||||
\ set softtabstop=4
|
||||
\ set shiftwidth=4
|
||||
\ set expandtab
|
||||
|
||||
" Fold methods based on indents
|
||||
" zo to open folds, zc to close
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue