From a2734efdc25e2ac9ee4874b8604242e54f016517 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 5 Oct 2021 13:21:52 +0200 Subject: vim-patch:8.2.3473: some tcl files are not recognized #15912 Problem: Some files with tcl syntax are not recognized. Solution: Add a few file patterns. (Doug Kearns) https://github.com/vim/vim/commit/78aa5ffe314f40d33666f03b833f66b11c3d0f67 --- runtime/filetype.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 322215e1de..fe0073f16b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1109,6 +1109,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 @@ -1804,7 +1807,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 -- cgit