Patch 9.0.1425
Problem: "wat" and "wast" files are one filetype.
Solution: Add a separate filetype for "wat" files. (Amaan Qureshi,
closes #12165)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1424/runtime/filetype.vim 2023-03-21 22:03:11.812572374
+0000
--- runtime/filetype.vim 2023-03-23 15:41:36.108301174 +0000
***************
*** 2343,2349 ****
au BufNewFile,BufRead *.vue setf vue
" WebAssembly
! au BufNewFile,BufRead *.wast,*.wat setf wast
" WebAssembly Interface Type (WIT)
au BufNewFile,BufRead *.wit setf wit
--- 2343,2350 ----
au BufNewFile,BufRead *.vue setf vue
" WebAssembly
! au BufNewFile,BufRead *.wat setf wat
! au BufNewFile,BufRead *.wast setf wast
" WebAssembly Interface Type (WIT)
au BufNewFile,BufRead *.wit setf wit
*** ../vim-9.0.1424/src/testdir/test_filetype.vim 2023-03-21
22:03:11.812572374 +0000
--- src/testdir/test_filetype.vim 2023-03-23 15:41:36.108301174 +0000
***************
*** 657,663 ****
\ 'vrml': ['file.wrl'],
\ 'vroom': ['file.vroom'],
\ 'vue': ['file.vue'],
! \ 'wast': ['file.wast', 'file.wat'],
\ 'wdl': ['file.wdl'],
\ 'webmacro': ['file.wm'],
\ 'wget': ['.wgetrc', 'wgetrc'],
--- 657,664 ----
\ 'vrml': ['file.wrl'],
\ 'vroom': ['file.vroom'],
\ 'vue': ['file.vue'],
! \ 'wat': ['file.wat'],
! \ 'wast': ['file.wast'],
\ 'wdl': ['file.wdl'],
\ 'webmacro': ['file.wm'],
\ 'wget': ['.wgetrc', 'wgetrc'],
*** ../vim-9.0.1424/src/version.c 2023-03-22 22:03:11.943208257 +0000
--- src/version.c 2023-03-23 15:43:02.608289267 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1425,
/**/
--
Not too long ago, a keyboard was something to make music with...
/// 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/20230323154648.B58DA1C063F%40moolenaar.net.