From 26c9f31b9158707211cf83ba4ab77db6f7f519a8 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 6 Sep 2025 08:15:47 +0800 Subject: [PATCH] vim-patch:f737ff8: runtime(hamster): do not globally set ignorecase related: vim/vim#15772 https://github.com/vim/vim/commit/f737ff8c88b5fb77050ba44d986ee20d59ad37be Co-authored-by: Christian Brabandt --- runtime/ftplugin/hamster.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/ftplugin/hamster.vim b/runtime/ftplugin/hamster.vim index 904f267fdc..a204cbb745 100644 --- a/runtime/ftplugin/hamster.vim +++ b/runtime/ftplugin/hamster.vim @@ -4,6 +4,7 @@ " Maintainer: David Fishburn " Last Change: 2021 Jan 19 " 2024 May 23 by Riley Bruins ('commentstring') +" 2025 Sep 05 by Vim Project, disable setting global ignorecase " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -57,7 +58,7 @@ if exists("loaded_matchit") " \ synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string"' endif -setlocal ignorecase +" setlocal ignorecase let &cpo = s:cpo_save unlet s:cpo_save