From: Christoph Sax Date: Thu, 8 Jun 2023 16:57:19 +0000 (+0100) Subject: patch 9.0.1618: Trace32 files are not recognized X-Git-Tag: v9.0.1618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fbcee6f928356f1c205a4dfa67c1d542f743b92;p=thirdparty%2Fvim.git patch 9.0.1618: Trace32 files are not recognized Problem: Trace32 files are not recognized. Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 0693cba546..89a30a8df9 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 2e5d98230c..d5e003848a 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -662,6 +662,7 @@ def s:GetFilenameChecks(): dict> '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'], diff --git a/src/version.c b/src/version.c index a3fc959c5d..13888eb320 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1618, /**/ 1617, /**/