mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 13:44:46 +08:00
Defer indent load time
This commit is contained in:
@@ -174,7 +174,8 @@ function! VimVuePluginSyntaxMain(...)
|
||||
call s:HighlightVueTag()
|
||||
endfunction
|
||||
|
||||
if exists('*timer_start') && !exists('SessionLoad') && !s:test
|
||||
let s:timer = exists('*timer_start') && !exists('SessionLoad') && !s:test
|
||||
if s:timer
|
||||
call timer_start(1, 'VimVuePluginSyntaxMain')
|
||||
else
|
||||
call VimVuePluginSyntaxMain()
|
||||
|
||||
Reference in New Issue
Block a user