comparison runtime/filetype.vim @ 34733:d46ad1bc956d v9.1.0245

patch 9.1.0245: filetype: zsh theme, history and zunit files are not recognized Commit: https://github.com/vim/vim/commit/a55a22a1a30f8f37633ed78ea25a393d11e250f2 Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Sun Mar 31 19:42:39 2024 +0200 patch 9.1.0245: filetype: zsh theme, history and zunit files are not recognized Problem: filetype: zsh theme, history and zunit files are not recognized. Solution: Detect '.zsh_history', '*.zsh-theme' and '*.zunit' as zsh (Wu, Zhenyu) closes: #14366 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Mar 2024 19:45:02 +0200
parents 8cbd16df0cae
children 0c2eb26ecc73
comparison
equal deleted inserted replaced
34732:de2d9e7ac327 34733:d46ad1bc956d
2045 " Zserio 2045 " Zserio
2046 au BufNewFile,BufRead *.zs setf zserio 2046 au BufNewFile,BufRead *.zs setf zserio
2047 2047
2048 " Z-Shell script (patterns ending in a star further below) 2048 " Z-Shell script (patterns ending in a star further below)
2049 au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh 2049 au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
2050 au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh 2050 au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump,.zsh_history setf zsh
2051 au BufNewFile,BufRead *.zsh setf zsh 2051 au BufNewFile,BufRead *.zsh,*.zsh-theme,*.zunit setf zsh
2052 2052
2053 " Scheme ("racket" patterns are now separate, see above) 2053 " Scheme ("racket" patterns are now separate, see above)
2054 au BufNewFile,BufRead *.scm,*.ss,*.sld setf scheme 2054 au BufNewFile,BufRead *.scm,*.ss,*.sld setf scheme
2055 2055
2056 " Screen RC 2056 " Screen RC