mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-08-12 19:06:55 +08:00
feat: set filetype to javascript.vue for .vue and .wpy
This commit is contained in:
@@ -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