Make add ! to function PythonIndent
This commit is contained in:
parent
6d2fbc2ac5
commit
ef0f39b780
@ -16,7 +16,7 @@ setlocal indentkeys+=<:>,=elif,=except
|
||||
" Derived from the default GetPythonIndent removing deliberate use of invalid
|
||||
" expressions which show up with 'set debug=msg,throw', also remove the indent
|
||||
" config options.
|
||||
function PythonIndent(lnum)
|
||||
function! PythonIndent(lnum)
|
||||
" If this line is explicitly joined: If the previous line was also joined,
|
||||
" line it up with that one, otherwise add two 'shiftwidth'
|
||||
if getline(a:lnum - 1) =~# '\\$'
|
||||
|
Loading…
x
Reference in New Issue
Block a user