mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
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)
78aa5ffe31
This commit is contained in:
parent
93a7571fab
commit
a2734efdc2
@ -1109,6 +1109,9 @@ au BufNewFile,BufRead *.mysql setf mysql
|
|||||||
" Mutt setup files (must be before catch *.rc)
|
" Mutt setup files (must be before catch *.rc)
|
||||||
au BufNewFile,BufRead */etc/Muttrc.d/* call s:StarSetf('muttrc')
|
au BufNewFile,BufRead */etc/Muttrc.d/* call s:StarSetf('muttrc')
|
||||||
|
|
||||||
|
" Tcl Shell RC file
|
||||||
|
au BufNewFile,BufRead tclsh.rc setf tcl
|
||||||
|
|
||||||
" M$ Resource files
|
" M$ Resource files
|
||||||
au BufNewFile,BufRead *.rc,*.rch setf rc
|
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
|
au BufRead,BufNewFile *.task setf taskedit
|
||||||
|
|
||||||
" Tcl (JACL too)
|
" 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
|
" TealInfo
|
||||||
au BufNewFile,BufRead *.tli setf tli
|
au BufNewFile,BufRead *.tli setf tli
|
||||||
|
@ -492,7 +492,7 @@ let s:filename_checks = {
|
|||||||
\ 'tak': ['file.tak'],
|
\ 'tak': ['file.tak'],
|
||||||
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
|
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
|
||||||
\ 'taskedit': ['file.task'],
|
\ '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'],
|
\ 'teraterm': ['file.ttl'],
|
||||||
\ 'terminfo': ['file.ti'],
|
\ 'terminfo': ['file.ti'],
|
||||||
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
|
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
|
||||||
|
Loading…
Reference in New Issue
Block a user