| Bram Moolenaar | cee5560 | 2005-08-21 22:12:59 +0000 | [diff] [blame] | 1 | " For Yiddish capitals should not be checked. But only change the |
| 2 | " 'spellcapcheck' option when it is not at its default value. | ||||
| 3 | let s:spc = &l:spc | ||||
| 4 | setlocal spc& | ||||
| 5 | if s:spc == &l:spc | ||||
| 6 | setlocal spc= | ||||
| 7 | else | ||||
| 8 | let &l:spc = s:spc | ||||
| 9 | endif | ||||
| 10 | unlet s:spc | ||||