X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5fc36c048e75311b5755b667c1aca7f4d50d3562..efa7e6b0ee1448f98f5a359fe2b6a9b330434db7:/indent/python.vim diff --git a/indent/python.vim b/indent/python.vim index b3631a1..501a88a 100644 --- a/indent/python.vim +++ b/indent/python.vim @@ -289,7 +289,7 @@ function! s:indent_like_previous_line(lnum) while 1 let curpos = getpos('.')[2] if curpos == 1 | break | endif - if eval(s:skip_special_chars) || text[curpos-1] =~# '\s' + if text[curpos-1] =~# '\s' || eval(s:skip_special_chars) normal! h continue elseif text[curpos-1] ==# ':'