changeset 17526:ae379e753465 v8.1.1761

patch 8.1.1761: filetype "vuejs" causes problems for some users commit https://github.com/vim/vim/commit/4248111497ab78f45d3d48576740949778a1e76b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 27 21:39:13 2019 +0200 patch 8.1.1761: filetype "vuejs" causes problems for some users Problem: Filetype "vuejs" causes problems for some users. Solution: Rename to "vue".
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jul 2019 21:45:04 +0200
parents 50948c815245
children 038f42e497cc
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -710,6 +710,9 @@ au BufNewFile,BufRead *.html,*.htm,*.sht
 " 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
 
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1761,
+/**/
     1760,
 /**/
     1759,