vim-patch:8.1.1761: filetype "vuejs" causes problems for some users

Problem:    Filetype "vuejs" causes problems for some users.
Solution:   Rename to "vue".
4248111497
This commit is contained in:
Jan Edmund Lazo 2019-08-02 19:46:21 -04:00
parent cdd8540a20
commit d827a750f7
2 changed files with 4 additions and 0 deletions

View File

@ -706,6 +706,9 @@ au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call dist#ft#FThtml()
" Vue.js Single File Component
au BufNewFile,BufRead *.vue setf vuejs
" Vue.js Single File Component
au BufNewFile,BufRead *.vue setf vue
" HTML with Ruby - eRuby
au BufNewFile,BufRead *.erb,*.rhtml setf eruby

View File

@ -474,6 +474,7 @@ let s:filename_checks = {
\ 'voscm': ['file.cm'],
\ 'vrml': ['file.wrl'],
\ 'vroom': ['file.vroom'],
\ 'vue': ['file.vue'],
\ 'wast': ['file.wast', 'file.wat'],
\ 'webmacro': ['file.wm'],
\ 'wget': ['.wgetrc', 'wgetrc'],