Patch 9.0.1423
Problem:    WebAssembly Interface Type files are not recognized.
Solution:   Add a pattern for WIT files. (Amaan Qureshi, closes #12173)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1422/runtime/filetype.vim        2023-03-21 21:31:35.580834523 
+0000
--- runtime/filetype.vim        2023-03-21 21:57:59.776433757 +0000
***************
*** 2345,2350 ****
--- 2345,2353 ----
  " 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
  
*** ../vim-9.0.1422/src/testdir/test_filetype.vim       2023-03-21 
21:31:35.584834519 +0000
--- src/testdir/test_filetype.vim       2023-03-21 21:57:59.776433757 +0000
***************
*** 663,668 ****
--- 663,669 ----
      \ 'wget': ['.wgetrc', 'wgetrc'],
      \ 'wget2': ['.wget2rc', 'wget2rc'],
      \ 'winbatch': ['file.wbt'],
+     \ 'wit': ['file.wit'],
      \ 'wml': ['file.wml'],
      \ 'wsh': ['file.wsf', 'file.wsc'],
      \ 'wsml': ['file.wsml'],
*** ../vim-9.0.1422/src/version.c       2023-03-21 21:31:35.584834519 +0000
--- src/version.c       2023-03-21 21:58:43.944456342 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1423,
  /**/

-- 
ARTHUR:      Who are you?
TALL KNIGHT: We are the Knights Who Say "Ni"!
BEDEVERE:    No!  Not the Knights Who Say "Ni"!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230321220357.2E9581C06E4%40moolenaar.net.

Raspunde prin e-mail lui