1
0
forked from aniani/vim

patch 8.2.3501: tmux filetype dection is incomplete

Problem:    tmux filetype dection is incomplete
Solution:   Also use tmux for files having text after .conf. (Eric Pruitt,
            closes #8971)
This commit is contained in:
Eric Pruitt
2021-10-12 13:58:23 +01:00
committed by Bram Moolenaar
parent 3a724290c5
commit e519eb41c1
3 changed files with 6 additions and 1 deletions

View File

@@ -2305,6 +2305,9 @@ au BufNewFile,BufRead .tcshrc* call dist#ft#SetFileTypeShell("tcsh")
" csh scripts ending in a star
au BufNewFile,BufRead .login*,.cshrc* call dist#ft#CSH()
" tmux configuration with arbitrary extension
au BufNewFile,BufRead {.,}tmux*.conf* setf tmux
" VHDL
au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')