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