diff options
author | Christoph Sax <christoph.sax@mailbox.org> | 2023-06-08 17:57:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-06-08 17:57:19 +0100 |
commit | 7fbcee6f928356f1c205a4dfa67c1d542f743b92 (patch) | |
tree | 9f7b0591dcf3999527b3baabaeb7b2eb82a4a62a | |
parent | 577922b917e48285a7a312daf7b5bbc6e272939c (diff) |
patch 9.0.1618: Trace32 files are not recognizedv9.0.1618
Problem: Trace32 files are not recognized.
Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505)
-rw-r--r-- | runtime/filetype.vim | 3 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 0 deletions
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<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'], diff --git a/src/version.c b/src/version.c index a3fc959c5d..13888eb320 100644 --- 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 */ /**/ + 1618, +/**/ 1617, /**/ 1616, |