mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -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:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							b7147f8236
						
					
				
				
					commit
					746fe54d4f
				
			| @@ -2646,7 +2646,7 @@ au BufNewFile,BufRead *.toml			setf toml | |||||||
| au BufNewFile,BufRead *.tpp			setf tpp | au BufNewFile,BufRead *.tpp			setf tpp | ||||||
|  |  | ||||||
| " TRACE32 Script Language | " TRACE32 Script Language | ||||||
| au BufNewFile,BufRead *.cmm,*.t32		setf trace32 | au BufNewFile,BufRead *.cmm,*.cmmt,*.t32	setf trace32 | ||||||
|  |  | ||||||
| " Treetop | " Treetop | ||||||
| au BufRead,BufNewFile *.treetop			setf treetop | au BufRead,BufNewFile *.treetop			setf treetop | ||||||
|   | |||||||
| @@ -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'], |     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'], |     toml: ['file.toml', 'Gopkg.lock', 'Pipfile', '/home/user/.cargo/config', '.black'], | ||||||
|     tpp: ['file.tpp'], |     tpp: ['file.tpp'], | ||||||
|     trace32: ['file.cmm', 'file.t32'], |     trace32: ['file.cmm', 'file.cmmt', 'file.t32'], | ||||||
|     treetop: ['file.treetop'], |     treetop: ['file.treetop'], | ||||||
|     trig: ['file.trig'], |     trig: ['file.trig'], | ||||||
|     trustees: ['trustees.conf'], |     trustees: ['trustees.conf'], | ||||||
|   | |||||||
| @@ -704,6 +704,8 @@ static char *(features[]) = | |||||||
|  |  | ||||||
| static int included_patches[] = | static int included_patches[] = | ||||||
| {   /* Add new patch number below this line */ | {   /* Add new patch number below this line */ | ||||||
|  | /**/ | ||||||
|  |     1085, | ||||||
| /**/ | /**/ | ||||||
|     1084, |     1084, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user