To: vim_dev@googlegroups.com Subject: Patch 9.0.1423 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///