diff runtime/filetype.vim @ 31016:f825a2646cc0 v9.0.0843

patch 9.0.0843: VHS tape files are not recognized Commit: https://github.com/vim/vim/commit/1756f4b21837e8596241ecd668f4abbbab4bc7e5 Author: Carlos A Becker <caarlos0@users.noreply.github.com> Date: Mon Nov 7 11:17:29 2022 +0000 patch 9.0.0843: VHS tape files are not recognized Problem: VHS tape files are not recognized. Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes https://github.com/vim/vim/issues/11452)
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Nov 2022 12:30:05 +0100
parents 6b03468f9cf7
children 5acd6f02ea35
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2181,6 +2181,11 @@ au BufNewFile,BufRead *.va,*.vams		setf 
 " 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