From 2c789607348939846875a7f288c800d6818a8c2e Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Tue, 10 Sep 2019 19:30:34 +0800 Subject: [PATCH] Optimize code --- syntax/vue.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vue.vim b/syntax/vue.vim index efede4d..1c0cd5c 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -44,7 +44,7 @@ function! s:LoadSyntax(group, type) endfunction function! s:LoadDefaultSyntax(group, type) - call s:SetCurrentSyntax(a:type) + unlet! b:current_syntax let syntaxPaths = ['$VIMRUNTIME', '$VIM/vimfiles', '$HOME/.vim'] for path in syntaxPaths