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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211004194213.8FB49C80054%40pakwach.

Raspunde prin e-mail lui