mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-18 06:43:40 -05:00
Fix getting global variable
This commit is contained in:
@@ -144,7 +144,7 @@ if get(b:, 'markdown_yaml_head', get(g:, 'markdown_yaml_head', main_syntax ==# '
|
||||
syn region markdownYamlHead start="\%^---$" end="^\%(---\|\.\.\.\)\s*$" keepend contains=@markdownYamlTop,@Spell
|
||||
endif
|
||||
|
||||
if g:markdown_fenced_tex
|
||||
if get(g:, 'markdown_fenced_tex', 0)
|
||||
syn include syntax/tex.vim
|
||||
syn region markdownHighlighttex matchgroup=markdownCodeDelimiter start="\\\\(\ze[^ \n]" end="[^ \n]\zs\\\\)" keepend contains=@texMathZoneGroup
|
||||
syn region markdownHighlighttex matchgroup=markdownCodeDelimiter start="\\\\\[" end="\\\\\]" keepend contains=@texMathZoneGroup
|
||||
|
||||
Reference in New Issue
Block a user