mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	patch 8.2.3473: some files with tcl syntax are not recognized
Problem: Some files with tcl syntax are not recognized. Solution: Add a few file patterns. (Doug Kearns
This commit is contained in:
		| @@ -1116,6 +1116,9 @@ au BufNewFile,BufRead *.mysql			setf mysql | ||||
| " Mutt setup files (must be before catch *.rc) | ||||
| au BufNewFile,BufRead */etc/Muttrc.d/*		call s:StarSetf('muttrc') | ||||
|  | ||||
| " Tcl Shell RC file | ||||
| au BufNewFile,BufRead tclsh.rc			setf tcl | ||||
|  | ||||
| " M$ Resource files | ||||
| au BufNewFile,BufRead *.rc,*.rch		setf rc | ||||
|  | ||||
| @@ -1811,7 +1814,7 @@ au BufRead,BufNewFile {pending,completed,undo}.data  setf taskdata | ||||
| au BufRead,BufNewFile *.task			setf taskedit | ||||
|  | ||||
| " Tcl (JACL too) | ||||
| au BufNewFile,BufRead *.tcl,*.tk,*.itcl,*.itk,*.jacl	setf tcl | ||||
| au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc	setf tcl | ||||
|  | ||||
| " TealInfo | ||||
| au BufNewFile,BufRead *.tli			setf tli | ||||
|   | ||||
| @@ -493,7 +493,7 @@ let s:filename_checks = { | ||||
|     \ 'tak': ['file.tak'], | ||||
|     \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], | ||||
|     \ 'taskedit': ['file.task'], | ||||
|     \ 'tcl': ['file.tcl', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl'], | ||||
|     \ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'], | ||||
|     \ 'teraterm': ['file.ttl'], | ||||
|     \ 'terminfo': ['file.ti'], | ||||
|     \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], | ||||
|   | ||||
| @@ -757,6 +757,8 @@ static char *(features[]) = | ||||
|  | ||||
| static int included_patches[] = | ||||
| {   /* Add new patch number below this line */ | ||||
| /**/ | ||||
|     3473, | ||||
| /**/ | ||||
|     3472, | ||||
| /**/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user