]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1618: Trace32 files are not recognized v9.0.1618
authorChristoph Sax <christoph.sax@mailbox.org>
Thu, 8 Jun 2023 16:57:19 +0000 (17:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Jun 2023 16:57:19 +0000 (17:57 +0100)
Problem:    Trace32 files are not recognized.
Solution:   Add patterns for the t32 filetype. (Christoph Sax, closes #12505)

runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 0693cba5467103433da2ce9cf3948d65704589cb..89a30a8df9e63679e1a1b44214c017383bd39b52 100644 (file)
@@ -2234,6 +2234,9 @@ au BufNewFile,BufRead *.toml                      setf toml
 " TPP - Text Presentation Program
 au BufNewFile,BufRead *.tpp                    setf tpp
 
+" TRACE32 Script Language
+au BufNewFile,BufRead *.cmm,*.t32              setf t32
+
 " Treetop
 au BufRead,BufNewFile *.treetop                        setf treetop
 
index 2e5d98230ca6212a114891ee5d84f6fa338db33d..d5e003848a11c5f566e849486b4efb20e234b559 100644 (file)
@@ -662,6 +662,7 @@ def s:GetFilenameChecks(): dict<list<string>>
               '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'],
     tags: ['tags'],
     tak: ['file.tak'],
     tal: ['file.tal'],
index a3fc959c5dee2dc81abef6cb5305746ec8ed50ce..13888eb32046f3f2e5a500867a05d7880c05df5c 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1618,
 /**/
     1617,
 /**/