Fix: Typeface should not be nested in single equation (#977)

Solution: make thos a tex nested region and let tex decide the syntax
This commit is contained in:
Tinmarino
2020-08-07 10:21:27 -04:00
parent aa628f8a12
commit 348b014957
3 changed files with 37 additions and 28 deletions

View File

@ -349,11 +349,6 @@ function! vimwiki#u#hi_typeface(dic) abort
call vimwiki#u#hi_tag(u[0], u[1], 'VimwikiCode', '')
endfor
"" Equation
for u in a:dic['eq']
call vimwiki#u#hi_tag(u[0], u[1], 'VimwikiEqIn', nested)
endfor
" Superscript
for u in a:dic['sup']
call vimwiki#u#hi_tag(u[0], u[1], 'VimwikiSuperScript', nested, 0, 'oneline')