mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 05:34:44 +08:00
Fix template in pug indent error
This commit is contained in:
@@ -9,6 +9,8 @@ endif
|
||||
" <sfile> is replaced with the file name of the sourced file
|
||||
let s:patch_path = expand('<sfile>:p:h').'/patch'
|
||||
|
||||
let s:test = exists('g:vim_vue_plugin_test')
|
||||
|
||||
function! s:Init()
|
||||
""" Configs
|
||||
let s:config = vue#GetConfig('config', {})
|
||||
@@ -165,7 +167,7 @@ function! VimVuePluginSyntaxMain(...)
|
||||
call s:HighlightVueTag()
|
||||
endfunction
|
||||
|
||||
if exists('*timer_start')
|
||||
if exists('*timer_start') && !s:test
|
||||
call timer_start(1, 'VimVuePluginSyntaxMain')
|
||||
else
|
||||
call VimVuePluginSyntaxMain()
|
||||
|
||||
Reference in New Issue
Block a user