annotate runtime/spell/he.vim @ 27106:d7e6b85dd89d v8.2.4082

patch 8.2.4082: check for autoload file name and prefix fails Commit: https://github.com/vim/vim/commit/3049fcf0a189b0fea8468fa308887b8252d93dce Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 13 19:25:50 2022 +0000 patch 8.2.4082: check for autoload file name and prefix fails Problem: Check for autoload file name and prefix fails. (Christian J. Robinson) Solution: Only lower case the prefix on systems where the file name is not case sensitive.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Jan 2022 20:30:06 +0100
parents f00f0af2a320
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
488
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
1 " For Hebrew capitals should not be checked. But only change the
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
2 " 'spellcapcheck' option when it is not at its default value.
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
3 let s:spc = &l:spc
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
4 setlocal spc&
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
5 if s:spc == &l:spc
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
6 setlocal spc=
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
7 else
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
8 let &l:spc = s:spc
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
9 endif
f00f0af2a320 updated for version 7.0133
vimboss
parents:
diff changeset
10 unlet s:spc