diff runtime/filetype.vim @ 17528:62a6d99082f7 v8.1.1762

patch 8.1.1762: some filetype rules are in the wrong place commit https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 27 21:57:21 2019 +0200 patch 8.1.1762: some filetype rules are in the wrong place Problem: Some filetype rules are in the wrong place. Solution: Move to the right place. Add a few more tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jul 2019 22:00:06 +0200
parents ae379e753465
children f2c2f9126a82
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last Change:	2019 May 06
+" Last Change:	2019 Jul 27
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
@@ -707,12 +707,6 @@ au BufNewFile,BufRead *.t.html			setf ti
 " HTML (.shtml and .stm for server side)
 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
 
@@ -1782,12 +1776,15 @@ au BufNewFile,BufRead *.wrl			setf vrml
 " Vroom (vim testing and executable documentation)
 au BufNewFile,BufRead *.vroom			setf vroom
 
-" Webmacro
-au BufNewFile,BufRead *.wm			setf webmacro
+" Vue.js Single File Component
+au BufNewFile,BufRead *.vue			setf vue
 
 " WebAssembly
 au BufNewFile,BufRead *.wast,*.wat		setf wast
 
+" Webmacro
+au BufNewFile,BufRead *.wm			setf webmacro
+
 " Wget config
 au BufNewFile,BufRead .wgetrc,wgetrc		setf wget