diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-27 21:57:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-27 21:57:21 +0200 |
commit | c273405188cc2f19e949089cda1f92bd81610dac (patch) | |
tree | 30572ce47362b287a09918394096e7a6f201052b /runtime/filetype.vim | |
parent | 4248111497ab78f45d3d48576740949778a1e76b (diff) |
patch 8.1.1762: some filetype rules are in the wrong placev8.1.1762
Problem: Some filetype rules are in the wrong place.
Solution: Move to the right place. Add a few more tests.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 43c0858387..0a50c302b7 100644 --- 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 tilde " 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 |