changeset 32580:73e1207ec28d v9.0.1622

patch 9.0.1622: filetype name t32 is a bit obscure Commit: https://github.com/vim/vim/commit/740df76c90ee2c421ab7852b7ff2835aa0af782a Author: Christoph Sax <christoph.sax@mailbox.org> Date: Fri Jun 9 19:20:04 2023 +0100 patch 9.0.1622: filetype name t32 is a bit obscure Problem: Filetype name t32 is a bit obscure. Solution: Rename t32 to trace32. (Christoph Sax, closes https://github.com/vim/vim/issues/12512)
author Bram Moolenaar <Bram@vim.org>
date Fri, 09 Jun 2023 20:30:05 +0200
parents 664850802265
children fa05c32c24ca
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2235,7 +2235,7 @@ au BufNewFile,BufRead *.toml			setf toml
 au BufNewFile,BufRead *.tpp			setf tpp
 
 " TRACE32 Script Language
-au BufNewFile,BufRead *.cmm,*.t32		setf t32
+au BufNewFile,BufRead *.cmm,*.t32		setf trace32
 
 " Treetop
 au BufRead,BufNewFile *.treetop			setf treetop
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -662,7 +662,7 @@ def s:GetFilenameChecks(): dict<list<str
               'any/etc/systemd/system/file.d/.#-file',
               'any/etc/systemd/system/file.d/file.conf'],
     systemverilog: ['file.sv', 'file.svh'],
-    t32: ['file.cmm', 'file.t32'],
+    trace32: ['file.cmm', 'file.t32'],
     tags: ['tags'],
     tak: ['file.tak'],
     tal: ['file.tal'],
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1622,
+/**/
     1621,
 /**/
     1620,