Skip to content

Commit d88392e

Browse files
committed
fix undefined variable included_syntaxes
1 parent 981c87d commit d88392e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/d2.vim

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ function! d2#sync_markdown_fenced_languages() abort
128128
endfunction
129129

130130
function! d2#syntax_post() abort
131+
let b:included_syntaxes = get(b:, 'included_syntaxes', [])
131132
if index(b:included_syntaxes, 'markdown') != -1
132133
if hlexists('markdownCodeBlock')
133134
syn clear markdownCodeBlock

0 commit comments

Comments
 (0)