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:
Wu, Zhenyu
2025-09-02 20:42:00 +02:00
committed by Christian Brabandt
parent 5f8e31fec5
commit 9a6cafdc1c
3 changed files with 7 additions and 2 deletions

View File

@ -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