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:
Amaan Qureshi
2023-03-23 15:45:46 +00:00
committed by Bram Moolenaar
parent 7ac36130e0
commit 3ea62381c5
3 changed files with 6 additions and 2 deletions

View File

@ -2343,7 +2343,8 @@ au BufNewFile,BufRead *.vroom setf vroom
au BufNewFile,BufRead *.vue setf vue au BufNewFile,BufRead *.vue setf vue
" WebAssembly " WebAssembly
au BufNewFile,BufRead *.wast,*.wat setf wast au BufNewFile,BufRead *.wat setf wat
au BufNewFile,BufRead *.wast setf wast
" WebAssembly Interface Type (WIT) " WebAssembly Interface Type (WIT)
au BufNewFile,BufRead *.wit setf wit au BufNewFile,BufRead *.wit setf wit

View File

@ -657,7 +657,8 @@ let s:filename_checks = {
\ 'vrml': ['file.wrl'], \ 'vrml': ['file.wrl'],
\ 'vroom': ['file.vroom'], \ 'vroom': ['file.vroom'],
\ 'vue': ['file.vue'], \ 'vue': ['file.vue'],
\ 'wast': ['file.wast', 'file.wat'], \ 'wat': ['file.wat'],
\ 'wast': ['file.wast'],
\ 'wdl': ['file.wdl'], \ 'wdl': ['file.wdl'],
\ 'webmacro': ['file.wm'], \ 'webmacro': ['file.wm'],
\ 'wget': ['.wgetrc', 'wgetrc'], \ 'wget': ['.wgetrc', 'wgetrc'],

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1425,
/**/ /**/
1424, 1424,
/**/ /**/