feat: improve performance

This commit is contained in:
yemai
2019-05-20 14:06:46 +08:00
parent b85f124b77
commit deaf33485c
4 changed files with 47 additions and 30 deletions

View File

@@ -1,11 +1,11 @@
au BufNewFile,BufRead *.vue,*.wpy call s:setFiletype()
function! s:setFiletype()
" enable javascript autocmds first
let &filetype = 'javascript'
" enable JavaScript autocmds first
" let &filetype = 'javascript'
" then set filetype
let &filetype = 'javascript.vue'
let &filetype = 'vue'
endfunction
if !exists("g:vim_vue_plugin_has_init_indent")