Fix is_math() syntax check (fixes #281)
This commit is contained in:
parent
c365183952
commit
eda71910be
@ -95,7 +95,7 @@ endfunction
|
|||||||
"
|
"
|
||||||
function! s:is_math() " {{{1
|
function! s:is_math() " {{{1
|
||||||
return match(map(synstack(line('.'), max([col('.') - 1, 1])),
|
return match(map(synstack(line('.'), max([col('.') - 1, 1])),
|
||||||
\ 'synIDattr(v:val, ''name'')'), '^texMathZone[A-Z]$') >= 0
|
\ 'synIDattr(v:val, ''name'')'), '^texMathZone[A-Z]S\?$') >= 0
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user