Mercurial > vim
comparison src/testdir/test_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 |
---|---|
826 z8a: ['file.z8a'], | 826 z8a: ['file.z8a'], |
827 zig: ['file.zig', 'build.zig.zon'], | 827 zig: ['file.zig', 'build.zig.zon'], |
828 zimbu: ['file.zu'], | 828 zimbu: ['file.zu'], |
829 zimbutempl: ['file.zut'], | 829 zimbutempl: ['file.zut'], |
830 zserio: ['file.zs'], | 830 zserio: ['file.zs'], |
831 zsh: ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', | 831 zsh: ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', 'file.zsh-theme', 'file.zunit', |
832 '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', | 832 '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zsh_history', |
833 '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', | 833 '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', |
834 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'], | 834 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'], |
835 | 835 |
836 help: [$VIMRUNTIME .. '/doc/help.txt'], | 836 help: [$VIMRUNTIME .. '/doc/help.txt'], |
837 } | 837 } |