summaryrefslogtreecommitdiffstats
path: root/runtime/doc/spell.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-09-19 16:04:11 +0200
committerBram Moolenaar <Bram@vim.org>2014-09-19 16:04:11 +0200
commitb4b43bb572ca4c6fab846515274913bdb5ee2aed (patch)
tree1ed64f63f6e151c0a3b53d6c3089d80779f9bb1f /runtime/doc/spell.txt
parent5d2bae8b1c2bb8059010ea604e092de9cf3c1baf (diff)
updated for version 7.4.447v7.4.447
Problem: Spell files from Hunspell may generate a lot of errors. Solution: Add the IGNOREEXTRA flag.
Diffstat (limited to 'runtime/doc/spell.txt')
-rw-r--r--runtime/doc/spell.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 3ffd8932e1..e1cc6a593c 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1058,6 +1058,9 @@ this text to start with a "#" so that mistakes don't go unnoticed. Example:
SFX F 0 in [^i]n # Spion > Spionin ~
SFX F 0 nen in # Bauerin > Bauerinnen ~
+However, to avoid lots of errors in affix files written for Myspell, you can
+add the IGNOREEXTRA flag.
+
Apparently Myspell allows an affix name to appear more than once. Since this
might also be a mistake, Vim checks for an extra "S". The affix files for
Myspell that use this feature apparently have this flag. Example:
@@ -1111,6 +1114,14 @@ Specifically, the affix flags can be used for:
- CIRCUMFIX, as explained just below.
+IGNOREEXTRA *spell-IGNOREEXTRA*
+
+Normally Vim gives an error for an extra field that does not start with '#'.
+This avoids errors going unnoticed. However, some files created for Myspell
+or Hunspell may contain many entries with an extra field. Use the IGNOREEXTRA
+flag to avoid lots of errors.
+
+
CIRCUMFIX *spell-CIRCUMFIX*
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.