mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 14:25:32 +00:00
vim-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: vim/vim#16598
746fe54d4f
Co-authored-by: Christoph Sax <c_sax@mailbox.org>
This commit is contained in:
committed by
Christian Clason
parent
53e737748e
commit
9198368f32
@@ -1191,6 +1191,7 @@ local extension = {
|
||||
svh = 'systemverilog',
|
||||
sv = 'systemverilog',
|
||||
cmm = 'trace32',
|
||||
cmmt = 'trace32',
|
||||
t32 = 'trace32',
|
||||
td = 'tablegen',
|
||||
tak = 'tak',
|
||||
|
||||
@@ -813,7 +813,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
||||
Reference in New Issue
Block a user