Defer indent load time

This commit is contained in:
leafOfTree committed 2021-04-15 13:10:22 +08:00
1 parent ed7e1a9898
commit 3ed1e89f55
2 files changed
+5 -3

No files matched your search

+3 -2
View File
@@ -250,8 +250,9 @@ function! VimVuePluginIndentMain(...)
call s:SetVueIndent()
endfunction
if exists('*timer_start') && !exists('SessionLoad') && !s:test
call timer_start(50, 'VimVuePluginIndentMain')
let s:timer = exists('*timer_start') && !exists('SessionLoad') && !s:test
if s:timer
call timer_start(200, 'VimVuePluginIndentMain')
else
call VimVuePluginIndentMain()
endif