1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2019-07-27 21:57:21 +02:00
parent 4248111497
commit c273405188
3 changed files with 16 additions and 15 deletions

View File

@@ -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