summaryrefslogtreecommitdiffstats
path: root/runtime/spell/he.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/spell/he.vim')
-rw-r--r--runtime/spell/he.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/spell/he.vim b/runtime/spell/he.vim
new file mode 100644
index 0000000..76f52c4
--- /dev/null
+++ b/runtime/spell/he.vim
@@ -0,0 +1,10 @@
+" For Hebrew capitals should not be checked. But only change the
+" 'spellcapcheck' option when it is not at its default value.
+let s:spc = &l:spc
+setlocal spc&
+if s:spc == &l:spc
+ setlocal spc=
+else
+ let &l:spc = s:spc
+endif
+unlet s:spc