1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40: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:
2018-02-11 19:05:15 +01:00
parent 7725421800
commit b80c5bf2de

1
vimrc
View File

@@ -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