Fix: Typeface: var_with_undersore triggered syntax italic

This commit is contained in:
Tinmarino
2020-08-03 01:00:14 -04:00
parent 22bb7d9570
commit fb178f8e3c
3 changed files with 5 additions and 1 deletions

View File

@ -292,4 +292,8 @@ function! vimwiki#u#hi_typeface(dic) abort
" -- Italic 3
call vimwiki#u#hi_tag(u[0], u[1], 'VimwikiItalicBoldUnderline', '', 2)
endfor
" Prevent var_with_underscore to trigger italic text
" -- See $VIMRUNTIME/syntax/markdown.vim
syn match VimwikiError "\w\@<=_\w\@="
endfunction