vim-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: vim/vim#14366

a55a22a1a3

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-03-31 19:44:40 +02:00
parent 239101e32a
commit fa863c17b2
2 changed files with 4 additions and 2 deletions

View File

@@ -1155,6 +1155,8 @@ local extension = {
zut = 'zimbutempl',
zs = 'zserio',
zsh = 'zsh',
zunit = 'zsh',
['zsh-theme'] = 'zsh',
vala = 'vala',
web = detect.web,
pl = detect.pl,
@@ -1573,6 +1575,7 @@ local filename = {
['.zshrc'] = 'zsh',
['.zprofile'] = 'zsh',
['.zcompdump'] = 'zsh',
['.zsh_history'] = 'zsh',
['.zshenv'] = 'zsh',
['.zfbfmarks'] = 'zsh',
-- END FILENAME