mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-09 06:04:46 +08:00
Allow empty syntax list
This commit is contained in:
@@ -253,7 +253,7 @@ function! vue#GetSyntaxList(config_syntax)
|
|||||||
if !count(syntax_list, syntax)
|
if !count(syntax_list, syntax)
|
||||||
call add(syntax_list, syntax)
|
call add(syntax_list, syntax)
|
||||||
endif
|
endif
|
||||||
elseif type == v:t_list && len(syntax)
|
elseif type == v:t_list
|
||||||
for syn in syntax
|
for syn in syntax
|
||||||
if !count(syntax_list, syn)
|
if !count(syntax_list, syn)
|
||||||
call add(syntax_list, syn)
|
call add(syntax_list, syn)
|
||||||
|
|||||||
Reference in New Issue
Block a user