Fix 'GetContext'
This commit is contained in:
@@ -10,6 +10,8 @@ func! GetContext()
|
|||||||
echo 'math_inline'
|
echo 'math_inline'
|
||||||
elseif index(matches, 'pandocLaTeXMathBlock') >= 0
|
elseif index(matches, 'pandocLaTeXMathBlock') >= 0
|
||||||
echo 'math_block'
|
echo 'math_block'
|
||||||
|
elseif !empty(matches)
|
||||||
|
echo matches[0]
|
||||||
else
|
else
|
||||||
echo ''
|
echo ''
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user