Optimize code

This commit is contained in:
leafOfTree
2019-09-10 19:30:34 +08:00
parent 74ecdee310
commit 2c78960734

View File

@@ -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