Make add ! to function PythonIndent

This commit is contained in:
Kenneth Benzie 2019-04-05 17:40:07 +01:00
parent 6d2fbc2ac5
commit ef0f39b780

View File

@ -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) =~# '\\$'