From: Amaan Qureshi Date: Tue, 21 Mar 2023 22:03:15 +0000 (+0000) Subject: patch 9.0.1423: WebAssembly Interface Type files are not recognized X-Git-Tag: v9.0.1423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=890c77203637626b1005db818667084d11e653e7;p=thirdparty%2Fvim.git 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) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 90ba9613ef..322e1cc7dd 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2345,6 +2345,9 @@ au BufNewFile,BufRead *.vue setf vue " WebAssembly au BufNewFile,BufRead *.wast,*.wat setf wast +" WebAssembly Interface Type (WIT) +au BufNewFile,BufRead *.wit setf wit + " Webmacro au BufNewFile,BufRead *.wm setf webmacro diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index e5f16cd7e6..8b422509b3 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -663,6 +663,7 @@ let s:filename_checks = { \ 'wget': ['.wgetrc', 'wgetrc'], \ 'wget2': ['.wget2rc', 'wget2rc'], \ 'winbatch': ['file.wbt'], + \ 'wit': ['file.wit'], \ 'wml': ['file.wml'], \ 'wsh': ['file.wsf', 'file.wsc'], \ 'wsml': ['file.wsml'], diff --git a/src/version.c b/src/version.c index 8ed826395f..3b9381961a 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1423, /**/ 1422, /**/