aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-23 11:28:33 +0100
committerFlorian Walch <florian@fwalch.com>2014-12-23 16:14:46 +0100
commitd5bdc709d06d6d3452dbb7709351a22e6c12597e (patch)
treecebc24b465534490dbbed7a0976286613defac9c /runtime
parentc3de63bfbc168cd8ccc53dbb3e587043c11f7276 (diff)
downloadrneovim-d5bdc709d06d6d3452dbb7709351a22e6c12597e.tar.gz
rneovim-d5bdc709d06d6d3452dbb7709351a22e6c12597e.tar.bz2
rneovim-d5bdc709d06d6d3452dbb7709351a22e6c12597e.zip
vim-patch:7.4.447
Problem: Spell files from Hunspell may generate a lot of errors. Solution: Add the IGNOREEXTRA flag. https://code.google.com/p/vim/source/detail?r=v7-4-447
Diffstat (limited to 'runtime')
-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 da447e3b78..2ae0d27690 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1053,6 +1053,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:
@@ -1106,6 +1109,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.