0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 9.1.1085: filetype: cmmt files are not recognized

Problem:  filetype: cmmt files are not recognized
Solution: detect '*.cmmt' as trace32 filetype
          (Christian Sax)

"*.cmmt" files use the same syntax as regular TRACE32 scripts,
but are intended as a kind of script template.

closes: #16598

Signed-off-by: Christoph Sax <c_sax@mailbox.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christoph Sax 2025-02-08 19:01:05 +01:00 committed by Christian Brabandt
parent b7147f8236
commit 746fe54d4f
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
3 changed files with 4 additions and 2 deletions

View File

@ -2646,7 +2646,7 @@ au BufNewFile,BufRead *.toml setf toml
au BufNewFile,BufRead *.tpp setf tpp
" TRACE32 Script Language
au BufNewFile,BufRead *.cmm,*.t32 setf trace32
au BufNewFile,BufRead *.cmm,*.cmmt,*.t32 setf trace32
" Treetop
au BufRead,BufNewFile *.treetop setf treetop

View File

@ -816,7 +816,7 @@ def s:GetFilenameChecks(): dict<list<string>>
tmux: ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf', 'tmux.conf.local'],
toml: ['file.toml', 'Gopkg.lock', 'Pipfile', '/home/user/.cargo/config', '.black'],
tpp: ['file.tpp'],
trace32: ['file.cmm', 'file.t32'],
trace32: ['file.cmm', 'file.cmmt', 'file.t32'],
treetop: ['file.treetop'],
trig: ['file.trig'],
trustees: ['trustees.conf'],

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1085,
/**/
1084,
/**/