diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-02 19:46:54 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-02 19:48:32 -0400 |
commit | 12fe0cf5f9a56a71394ebf35a0ba9f4efc7e1702 (patch) | |
tree | 9498356af0be151618ba4ff8f4ea5b7c64fab3b6 /runtime | |
parent | d827a750f71281faa28e497ef40ada645789566f (diff) | |
download | rneovim-12fe0cf5f9a56a71394ebf35a0ba9f4efc7e1702.tar.gz rneovim-12fe0cf5f9a56a71394ebf35a0ba9f4efc7e1702.tar.bz2 rneovim-12fe0cf5f9a56a71394ebf35a0ba9f4efc7e1702.zip |
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.
https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac
Diffstat (limited to 'runtime')
-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 600d323bbd..4cc2f49a63 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") @@ -703,12 +703,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 @@ -1781,12 +1775,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 |