mirror of
https://github.com/vim/vim.git
synced 2025-10-17 07:44:28 -04:00
patch 9.1.1730: filetype: vivado journal/log files are not recognized
Problem: filetype: vivado journal/log files are not recognized Solution: Detect vivado*.{jou,log} as tcl filetype (Wu Zhenyu). closes: #18191 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5f8e31fec5
commit
9a6cafdc1c
@@ -1676,7 +1676,9 @@ au BufNewFile,BufRead *.msql setf msql
|
||||
au BufNewFile,BufRead *.mysql,.mysql_history setf mysql
|
||||
|
||||
" Tcl Shell RC file
|
||||
au BufNewFile,BufRead tclsh.rc setf tcl
|
||||
" Vivado journal file records REPL input in tcl syntax
|
||||
" Vivado log file records REPL input in tcl syntax and output
|
||||
au BufNewFile,BufRead tclsh.rc,vivado*.{jou,log} setf tcl
|
||||
|
||||
" M$ Resource files
|
||||
" /etc/Muttrc.d/file.rc is muttrc
|
||||
|
@@ -823,7 +823,8 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
tal: ['file.tal'],
|
||||
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', '.tclsh-history', '.xsctcmdhistory', '.xsdbcmdhistory'],
|
||||
tcl: ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc', '.tclsh-history',
|
||||
'.xsctcmdhistory', '.xsdbcmdhistory', 'vivado.jou', 'vivado.log'],
|
||||
teal: ['file.tl'],
|
||||
templ: ['file.templ'],
|
||||
template: ['file.tmpl'],
|
||||
|
@@ -724,6 +724,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1730,
|
||||
/**/
|
||||
1729,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user