mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-07 12:44:36 +08:00
Defer indent load time
This commit is contained in:
1 parent
ed7e1a9898
commit
3ed1e89f55
2 files changed
+5
-3
No files matched your search
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user