xref: /vim-8.2.3635/runtime/spell/he.vim (revision 90915b5d)
1*90915b5dSBram Moolenaar" For Hebrew capitals should not be checked.  But only change the
2*90915b5dSBram Moolenaar" 'spellcapcheck' option when it is not at its default value.
3*90915b5dSBram Moolenaarlet s:spc = &l:spc
4*90915b5dSBram Moolenaarsetlocal spc&
5*90915b5dSBram Moolenaarif s:spc == &l:spc
6*90915b5dSBram Moolenaar  setlocal spc=
7*90915b5dSBram Moolenaarelse
8*90915b5dSBram Moolenaar  let &l:spc = s:spc
9*90915b5dSBram Moolenaarendif
10*90915b5dSBram Moolenaarunlet s:spc
11