mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-08-13 03:11:03 +08:00
Optimize code
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ function! s:LoadSyntax(group, type)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:LoadDefaultSyntax(group, type)
|
function! s:LoadDefaultSyntax(group, type)
|
||||||
call s:SetCurrentSyntax(a:type)
|
unlet! b:current_syntax
|
||||||
|
|
||||||
let syntaxPaths = ['$VIMRUNTIME', '$VIM/vimfiles', '$HOME/.vim']
|
let syntaxPaths = ['$VIMRUNTIME', '$VIM/vimfiles', '$HOME/.vim']
|
||||||
for path in syntaxPaths
|
for path in syntaxPaths
|
||||||
|
|||||||
Reference in New Issue
Block a user