To: vim_dev@googlegroups.com Subject: Patch 8.2.3473 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3473 Problem: Some files with tcl syntax are not recognized. Solution: Add a few file patterns. (Doug Kearns Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.3472/runtime/filetype.vim 2021-10-03 20:11:16.684302935 +0100 --- runtime/filetype.vim 2021-10-04 20:39:30.063423129 +0100 *************** *** 1116,1121 **** --- 1116,1124 ---- " 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,1817 **** au BufRead,BufNewFile *.task setf taskedit " Tcl (JACL too) ! au BufNewFile,BufRead *.tcl,*.tk,*.itcl,*.itk,*.jacl setf tcl " TealInfo au BufNewFile,BufRead *.tli setf tli --- 1814,1820 ---- au BufRead,BufNewFile *.task setf taskedit " Tcl (JACL too) ! au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc setf tcl " TealInfo au BufNewFile,BufRead *.tli setf tli *** ../vim-8.2.3472/src/testdir/test_filetype.vim 2021-10-03 20:11:16.684302935 +0100 --- src/testdir/test_filetype.vim 2021-10-04 20:39:30.063423129 +0100 *************** *** 493,499 **** \ 'tak': ['file.tak'], \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], \ 'taskedit': ['file.task'], ! \ 'tcl': ['file.tcl', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl'], \ 'teraterm': ['file.ttl'], \ 'terminfo': ['file.ti'], \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], --- 493,499 ---- \ 'tak': ['file.tak'], \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], \ 'taskedit': ['file.task'], ! \ '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'], *** ../vim-8.2.3472/src/version.c 2021-10-04 20:09:16.238548053 +0100 --- src/version.c 2021-10-04 20:40:29.048236619 +0100 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3473, /**/ -- hundred-and-one symptoms of being an internet addict: 92. It takes you two hours to check all 14 of your mailboxes. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///