0
0
mirror of https://github.com/vim/vim.git synced 2025-10-17 07:44:28 -04:00

runtime(hamster): do not globally set ignorecase

related: #15772

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-09-05 20:57:34 +02:00
parent 510ca80c58
commit f737ff8c88

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