0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 9.0.1423: WebAssembly Interface Type files are not recognized

Problem:    WebAssembly Interface Type files are not recognized.
Solution:   Add a pattern for WIT files. (Amaan Qureshi, closes #12173)
This commit is contained in:
Amaan Qureshi
2023-03-21 22:03:15 +00:00
committed by Bram Moolenaar
parent d0639d717b
commit 890c772036
3 changed files with 6 additions and 0 deletions

View File

@@ -2345,6 +2345,9 @@ au BufNewFile,BufRead *.vue setf vue
" WebAssembly " WebAssembly
au BufNewFile,BufRead *.wast,*.wat setf wast au BufNewFile,BufRead *.wast,*.wat setf wast
" WebAssembly Interface Type (WIT)
au BufNewFile,BufRead *.wit setf wit
" Webmacro " Webmacro
au BufNewFile,BufRead *.wm setf webmacro au BufNewFile,BufRead *.wm setf webmacro

View File

@@ -663,6 +663,7 @@ let s:filename_checks = {
\ 'wget': ['.wgetrc', 'wgetrc'], \ 'wget': ['.wgetrc', 'wgetrc'],
\ 'wget2': ['.wget2rc', 'wget2rc'], \ 'wget2': ['.wget2rc', 'wget2rc'],
\ 'winbatch': ['file.wbt'], \ 'winbatch': ['file.wbt'],
\ 'wit': ['file.wit'],
\ 'wml': ['file.wml'], \ 'wml': ['file.wml'],
\ 'wsh': ['file.wsf', 'file.wsc'], \ 'wsh': ['file.wsf', 'file.wsc'],
\ 'wsml': ['file.wsml'], \ 'wsml': ['file.wsml'],

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 */
/**/
1423,
/**/ /**/
1422, 1422,
/**/ /**/