Skip to content

Commit 7807d5b

Browse files
taqenoqookamoto-n
authored andcommitted
Fix getting global variable
1 parent 2d8b604 commit 7807d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/markdown.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ if get(b:, 'markdown_yaml_head', get(g:, 'markdown_yaml_head', main_syntax ==# '
144144
syn region markdownYamlHead start="\%^---$" end="^\%(---\|\.\.\.\)\s*$" keepend contains=@markdownYamlTop,@Spell
145145
endif
146146

147-
if g:markdown_fenced_tex
147+
if get(g:, 'markdown_fenced_tex', 0)
148148
syn include syntax/tex.vim
149149
syn region markdownHighlighttex matchgroup=markdownCodeDelimiter start="\\\\(\ze[^ \n]" end="[^ \n]\zs\\\\)" keepend contains=@texMathZoneGroup
150150
syn region markdownHighlighttex matchgroup=markdownCodeDelimiter start="\\\\\[" end="\\\\\]" keepend contains=@texMathZoneGroup

0 commit comments

Comments
 (0)