forked from aniani/vim
patch 9.0.1425: "wat" and "wast" files are one filetype
Problem: "wat" and "wast" files are one filetype. Solution: Add a separate filetype for "wat" files. (Amaan Qureshi, closes #12165)
This commit is contained in:
committed by
Bram Moolenaar
parent
7ac36130e0
commit
3ea62381c5
@@ -2343,7 +2343,8 @@ au BufNewFile,BufRead *.vroom setf vroom
|
||||
au BufNewFile,BufRead *.vue setf vue
|
||||
|
||||
" WebAssembly
|
||||
au BufNewFile,BufRead *.wast,*.wat setf wast
|
||||
au BufNewFile,BufRead *.wat setf wat
|
||||
au BufNewFile,BufRead *.wast setf wast
|
||||
|
||||
" WebAssembly Interface Type (WIT)
|
||||
au BufNewFile,BufRead *.wit setf wit
|
||||
|
@@ -657,7 +657,8 @@ let s:filename_checks = {
|
||||
\ 'vrml': ['file.wrl'],
|
||||
\ 'vroom': ['file.vroom'],
|
||||
\ 'vue': ['file.vue'],
|
||||
\ 'wast': ['file.wast', 'file.wat'],
|
||||
\ 'wat': ['file.wat'],
|
||||
\ 'wast': ['file.wast'],
|
||||
\ 'wdl': ['file.wdl'],
|
||||
\ 'webmacro': ['file.wm'],
|
||||
\ 'wget': ['.wgetrc', 'wgetrc'],
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1425,
|
||||
/**/
|
||||
1424,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user