We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e2089 commit 069c682Copy full SHA for 069c682
indent/python.vim
@@ -92,8 +92,9 @@ else
92
endfunction
93
94
function! s:_skip_special_chars(line, col)
95
- return synIDattr(synID(a:line, a:col, 0), 'name')
96
- \ =~? s:special_chars_syn_pattern
+ return match(map(synstack(a:line, a:col),
+ \ "synIDattr(v:val, 'name')"),
97
+ \ '\c'.s:special_chars_syn_pattern)
98
\ || s:is_concealed(a:line, a:col)
99
100
endif
0 commit comments