mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-12 16:10:15 +08:00
feat: set filetype to javascript.vue for .vue and .wpy
This commit is contained in:
1 parent
a923db95fd
commit
71980e9b57
1 file changed
+8
@@ -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
|
||||||
Reference in new issue
Block a user