diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-04 20:41:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-04 20:41:45 +0100 |
commit | 78aa5ffe314f40d33666f03b833f66b11c3d0f67 (patch) | |
tree | 64cf5f1cc9c4fc9ed3c2db5088c53d08c867ca74 /runtime | |
parent | 9af9fd6ab637ea507dd9015fa5a84a408c36c1e0 (diff) |
patch 8.2.3473: some files with tcl syntax are not recognizedv8.2.3473
Problem: Some files with tcl syntax are not recognized.
Solution: Add a few file patterns. (Doug Kearns
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 960ee39404..f8b2498fdc 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |