patch 9.1.0960: filetype: hy history files are not recognized

Problem:  filetype: hy history files are not recognized
Solution: detect '*.hy', '.hy-history' files as hy filetype,
          detect '.lips_repl_history' files are scheme filetype
          (Wu, Zhenyu)

closes: #16298

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-12-25 10:33:57 +01:00
committed by Christian Brabandt
parent b6ab33bdb2
commit a32daed559
3 changed files with 9 additions and 3 deletions

View File

@ -1109,6 +1109,9 @@ au BufNewFile,BufRead */etc/hosts.allow,*/etc/hosts.deny setf hostsaccess
" Hurl
au BufRead,BufNewFile *.hurl setf hurl
" Hy
au BufRead,BufNewFile *.hy,.hy-history setf hy
" Hyper Builder
au BufNewFile,BufRead *.hb setf hb
@ -2314,8 +2317,8 @@ au BufNewFile,BufRead *.zsh,*.zsh-theme,*.zunit setf zsh
" Salt state files
au BufNewFile,BufRead *.sls setf salt
" Scheme, Supertux configuration ("racket" patterns are now separate, see above)
au BufNewFile,BufRead *.scm,*.ss,*.sld,*.stsg,*/supertux2/config setf scheme
" Scheme, Supertux configuration, Lips.js history ("racket" patterns are now separate, see above)
au BufNewFile,BufRead *.scm,*.ss,*.sld,*.stsg,*/supertux2/config,.lips_repl_history setf scheme
" Screen RC
au BufNewFile,BufRead .screenrc,screenrc setf screen