1
0
Fork 0
mirror of synced 2024-11-18 06:55:33 -05:00

Improved auto indenting for regular langs and for Python

This commit is contained in:
amix 2016-08-26 14:14:22 +02:00
parent 23ba938b6d
commit 183ca1cfc5
2 changed files with 5 additions and 3 deletions

View file

@ -189,9 +189,8 @@ set tabstop=4
set lbr
set tw=500
set cindent
set cinkeys-=0#
set indentkeys-=0#
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines

View file

@ -17,6 +17,9 @@ au FileType python map <buffer> <leader>1 /class
au FileType python map <buffer> <leader>2 /def
au FileType python map <buffer> <leader>C ?class
au FileType python map <buffer> <leader>D ?def
au FileType python set cindent
au FileType python set cinkeys-=0#
au FileType python set indentkeys-=0#
""""""""""""""""""""""""""""""