From a55a22a1a30f8f37633ed78ea25a393d11e250f2 Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Sun, 31 Mar 2024 19:42:39 +0200 Subject: 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 Signed-off-by: Christian Brabandt --- src/testdir/test_filetype.vim | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index a1f7e22212..f3cc939025 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -828,8 +828,8 @@ def s:GetFilenameChecks(): dict> zimbu: ['file.zu'], zimbutempl: ['file.zut'], zserio: ['file.zs'], - zsh: ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', - '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', + zsh: ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', 'file.zsh-theme', 'file.zunit', + '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zsh_history', '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'], diff --git a/src/version.c b/src/version.c index a6755acaae..490812988b 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 245, /**/ 244, /**/ -- cgit v1.2.3