diff --git a/.vim/ftplugin/pandoc/wiki.vim b/.vim/ftplugin/pandoc/wiki.vim index 17f4b1e..8d928f7 100644 --- a/.vim/ftplugin/pandoc/wiki.vim +++ b/.vim/ftplugin/pandoc/wiki.vim @@ -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