diff --git a/filetype.vim b/filetype.vim new file mode 100644 index 0000000..b914917 --- /dev/null +++ b/filetype.vim @@ -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