1
0
forked from aniani/vim

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

Problem:    Filetype "vuejs" causes problems for some users.
Solution:   Rename to "vue".
This commit is contained in:
Bram Moolenaar 2019-07-27 21:39:13 +02:00
parent 9800bfe0fc
commit 4248111497
3 changed files with 6 additions and 0 deletions

View File

@ -710,6 +710,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

@ -475,6 +475,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'],

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1761,
/**/
1760,
/**/