mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Removing noautoindent for python files
This option was the reason, why inserting new line after a block, vim always placed cursor on column 0. Now indenting should works as expected.
This commit is contained in:
1
vimrc
1
vimrc
@@ -207,7 +207,6 @@ function s:SetPythonSettings() "{{{2
|
|||||||
setlocal foldlevel=100
|
setlocal foldlevel=100
|
||||||
setlocal foldmethod=indent
|
setlocal foldmethod=indent
|
||||||
setlocal list
|
setlocal list
|
||||||
setlocal noautoindent
|
|
||||||
setlocal smartindent
|
setlocal smartindent
|
||||||
setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class,with
|
setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class,with
|
||||||
setlocal smarttab
|
setlocal smarttab
|
||||||
|
|||||||
Reference in New Issue
Block a user