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
|
" Derived from the default GetPythonIndent removing deliberate use of invalid
|
||||||
" expressions which show up with 'set debug=msg,throw', also remove the indent
|
" expressions which show up with 'set debug=msg,throw', also remove the indent
|
||||||
" config options.
|
" config options.
|
||||||
function PythonIndent(lnum)
|
function! PythonIndent(lnum)
|
||||||
" If this line is explicitly joined: If the previous line was also joined,
|
" If this line is explicitly joined: If the previous line was also joined,
|
||||||
" line it up with that one, otherwise add two 'shiftwidth'
|
" line it up with that one, otherwise add two 'shiftwidth'
|
||||||
if getline(a:lnum - 1) =~# '\\$'
|
if getline(a:lnum - 1) =~# '\\$'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user