feat: set filetype to javascript.vue for .vue and .wpy

This commit is contained in:
yemai
2018-09-28 15:24:17 +08:00
parent a923db95fd
commit 71980e9b57

8
filetype.vim Normal file
View File

@@ -0,0 +1,8 @@
au BufNewFile,BufRead *.vue,*.wpy setf javascript.vue
if !exists("g:vim_vue_plugin_has_init_indent")
let ext = expand("%:e")
if ext == 'wpy'
let g:vim_vue_plugin_has_init_indent = 1
endif
endif