mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-09 22:25:12 +08:00
feat: set filetype to javascript.vue for .vue and .wpy
This commit is contained in:
8
filetype.vim
Normal file
8
filetype.vim
Normal 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
|
||||||
Reference in New Issue
Block a user