summaryrefslogtreecommitdiff
path: root/spell/he.vim
diff options
context:
space:
mode:
Diffstat (limited to 'spell/he.vim')
-rw-r--r--spell/he.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/spell/he.vim b/spell/he.vim
new file mode 100644
index 0000000..76f52c4
--- /dev/null
+++ b/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