Fix 'GetContext'

master
Hektor Misplon 2024-10-08 20:35:12 +02:00
parent e3517c8dc0
commit 02eab915e7
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ func! GetContext()
echo 'math_inline'
elseif index(matches, 'pandocLaTeXMathBlock') >= 0
echo 'math_block'
elseif !empty(matches)
echo matches[0]
else
echo ''
endif