summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-09 13:51:34 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-09 13:51:34 +0100
commit7b877b360532713dc21a0ff3d55a76ac02eaf573 (patch)
tree4ec4df3686edc7e9b58346c1a49cc35b9f1f5c1c /runtime
parent4d1c0a44419afb3c15a861dcb88f46bfed8cd952 (diff)
downloadvim-git-7b877b360532713dc21a0ff3d55a76ac02eaf573.tar.gz
patch 7.4.1064v7.4.1064
Problem: When a spell file has single letter compounding creating suggestions takes an awful long time. Solution: Add th eNOCOMPOUNDSUGS flag.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/spell.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 5a802a29f..8ead3e62e 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1386,6 +1386,14 @@ the item name. Case is always ignored.
The Hunspell feature to use three arguments and flags is not supported.
+ *spell-NOCOMPOUNDSUGS*
+This item indicates that using compounding to make suggestions is not a good
+idea. Use this when compounding is used with very short or one-character
+words. E.g. to make numbers out of digits. Without this flag creating
+suggestions would spend most time trying all kind of weird compound words.
+
+ NOCOMPOUNDSUGS ~
+
*spell-SYLLABLE*
The SYLLABLE item defines characters or character sequences that are used to
count the number of syllables in a word. Example: