We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a6ca52 + b133ebc commit 981c87dCopy full SHA for 981c87d
autoload/d2.vim
@@ -30,7 +30,7 @@ endfunction
30
31
function! d2#init_block_string_syntaxes() abort
32
let b:included_syntaxes = get(b:, 'included_syntaxes', [])
33
- if type(g:d2_block_string_syntaxes) != v:t_dict && empty(g:d2_block_string_syntaxes)
+ if exists('g:d2_block_string_syntaxes') == 0 || type(g:d2_block_string_syntaxes) != v:t_dict || empty(g:d2_block_string_syntaxes) == 1
34
return
35
endif
36
0 commit comments