diff options
Diffstat (limited to 'vim71/spell')
-rw-r--r-- | vim71/spell/cleanadd.vim | 25 | ||||
-rw-r--r-- | vim71/spell/en.ascii.spl | bin | 0 -> 568018 bytes | |||
-rw-r--r-- | vim71/spell/en.ascii.sug | bin | 0 -> 555651 bytes | |||
-rw-r--r-- | vim71/spell/en.latin1.spl | bin | 0 -> 570117 bytes | |||
-rw-r--r-- | vim71/spell/en.latin1.sug | bin | 0 -> 556476 bytes | |||
-rw-r--r-- | vim71/spell/en.utf-8.spl | bin | 0 -> 570548 bytes | |||
-rw-r--r-- | vim71/spell/en.utf-8.sug | bin | 0 -> 556546 bytes | |||
-rw-r--r-- | vim71/spell/he.vim | 10 | ||||
-rw-r--r-- | vim71/spell/yi.vim | 10 |
9 files changed, 45 insertions, 0 deletions
diff --git a/vim71/spell/cleanadd.vim b/vim71/spell/cleanadd.vim new file mode 100644 index 0000000..cb7620f --- /dev/null +++ b/vim71/spell/cleanadd.vim @@ -0,0 +1,25 @@ +" Vim script to clean the ll.xxxxx.add files of commented out entries +" Author: Antonio Colombo, Bram Moolenaar +" Last Update: 2006 Jan 19 + +" Time in seconds after last time an ll.xxxxx.add file was updated +" Default is one second. +" If you invoke this script often set it to something bigger, e.g. 60 * 60 +" (one hour) +if !exists("g:spell_clean_limit") + let g:spell_clean_limit = 1 +endif + +" Loop over all the runtime/spell/*.add files. +" Delete all comment lines, except the ones starting with ##. +for s:fname in split(globpath(&rtp, "spell/*.add"), "\n") + if filewritable(s:fname) && localtime() - getftime(s:fname) > g:spell_clean_limit + silent exe "tab split " . escape(s:fname, ' \') + echo "Processing" s:fname + silent! g/^#[^#]/d + silent update + close + endif +endfor + +echo "Done" diff --git a/vim71/spell/en.ascii.spl b/vim71/spell/en.ascii.spl Binary files differnew file mode 100644 index 0000000..b0735c6 --- /dev/null +++ b/vim71/spell/en.ascii.spl diff --git a/vim71/spell/en.ascii.sug b/vim71/spell/en.ascii.sug Binary files differnew file mode 100644 index 0000000..cede5c7 --- /dev/null +++ b/vim71/spell/en.ascii.sug diff --git a/vim71/spell/en.latin1.spl b/vim71/spell/en.latin1.spl Binary files differnew file mode 100644 index 0000000..d24b790 --- /dev/null +++ b/vim71/spell/en.latin1.spl diff --git a/vim71/spell/en.latin1.sug b/vim71/spell/en.latin1.sug Binary files differnew file mode 100644 index 0000000..e4800bf --- /dev/null +++ b/vim71/spell/en.latin1.sug diff --git a/vim71/spell/en.utf-8.spl b/vim71/spell/en.utf-8.spl Binary files differnew file mode 100644 index 0000000..250d425 --- /dev/null +++ b/vim71/spell/en.utf-8.spl diff --git a/vim71/spell/en.utf-8.sug b/vim71/spell/en.utf-8.sug Binary files differnew file mode 100644 index 0000000..70bd9a2 --- /dev/null +++ b/vim71/spell/en.utf-8.sug diff --git a/vim71/spell/he.vim b/vim71/spell/he.vim new file mode 100644 index 0000000..76f52c4 --- /dev/null +++ b/vim71/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 diff --git a/vim71/spell/yi.vim b/vim71/spell/yi.vim new file mode 100644 index 0000000..c08cf8c --- /dev/null +++ b/vim71/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 |