vim-patch:f737ff8: runtime(hamster): do not globally set ignorecase

related: vim/vim#15772

f737ff8c88

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-09-06 08:15:47 +08:00
parent 54208da5c4
commit 26c9f31b91

View File

@@ -4,6 +4,7 @@
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com> " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Last Change: 2021 Jan 19 " Last Change: 2021 Jan 19
" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring') " 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
" 2025 Sep 05 by Vim Project, disable setting global ignorecase
" Only do this when not done yet for this buffer " Only do this when not done yet for this buffer
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
@@ -57,7 +58,7 @@ if exists("loaded_matchit")
" \ synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string"' " \ synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string"'
endif endif
setlocal ignorecase " setlocal ignorecase
let &cpo = s:cpo_save let &cpo = s:cpo_save
unlet s:cpo_save unlet s:cpo_save