Patch 9.0.0843
Problem: VHS tape files are not recognized.
Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes #11452)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0842/runtime/filetype.vim 2022-10-21 14:33:56.375360106 +0100
--- runtime/filetype.vim 2022-11-07 11:15:34.257521517 +0000
***************
*** 2181,2186 ****
--- 2181,2191 ----
" SystemVerilog
au BufNewFile,BufRead *.sv,*.svh setf systemverilog
+ " VHS tape
+ " .tape is also used by TapeCalc, which we do not support ATM. If TapeCalc
+ " support is needed the contents of the file needs to be inspected.
+ au BufNewFile,BufRead *.tape setf vhs
+
" VHDL
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst,*.vho setf vhdl
*** ../vim-9.0.0842/src/testdir/test_filetype.vim 2022-10-21 14:33:56.375360106 +0100
--- src/testdir/test_filetype.vim 2022-11-07 11:11:05.089305433 +0000
***************
*** 611,616 ****
--- 611,617 ----
\ 'verilogams': ['
file.va', 'file.vams'],
\ 'vgrindefs': ['vgrindefs'],
\ 'vhdl': ['file.hdl', 'file.vhd', 'file.vhdl', 'file.vbe', 'file.vst', 'file.vhdl_123', 'file.vho', 'some.vhdl_1', 'some.vhdl_1-file'],
+ \ 'vhs': ['file.tape'],
\ 'vim': ['file.vim', 'file.vba', '.exrc', '_exrc', 'some-vimrc', 'some-vimrc-file', 'vimrc', 'vimrc-file'],
\ 'viminfo': ['.viminfo', '_viminfo'],
\ 'vmasm': ['file.mar'],
*** ../vim-9.0.0842/src/version.c 2022-11-07 11:05:47.617214227 +0000
--- src/version.c 2022-11-07 11:17:00.085571854 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 843,
/**/
--
I'm not familiar with this proof, but I'm aware of a significant
following of toddlers who believe that peanut butter is the solution
to all of life's problems... -- Tim Hammerquist
/// Bram Moolenaar -- Br...@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 ///