about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-24 14:44:28 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-24 14:44:28 +0000
commit6785dcb5c920b6be812b4d1a70ce53ed47ff2f30 (patch)
tree332ee00c91dbd07c7982465fb61dd6dbebe95cc5 /Doc
parent01ffe47e012deb204dc74a3fff794f8b4a3ec795 (diff)
downloadzsh-6785dcb5c920b6be812b4d1a70ce53ed47ff2f30.tar.gz
zsh-6785dcb5c920b6be812b4d1a70ce53ed47ff2f30.tar.xz
zsh-6785dcb5c920b6be812b4d1a70ce53ed47ff2f30.zip
zsh-workers/9865
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 65c850c9c..0f4fac35f 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1267,6 +1267,23 @@ A style holding the service names of ports to complete. If this is
 not set by the user, the service names from `tt(/etc/services)' will
 be used.
 )
+item(tt(prefer-ignored))(
+This style is tested by the main completion function before calling a
+completer. The context name is formed in the same way as for the
+tt(matcher-list) style, i.e. it contains the name of the completer
+that will be called plus a hyphen and the number of the call to that
+completer.
+
+If the style is set to true and completion did not generate any normal 
+matches yet, but there are matches that were ignored because they
+matched one of the patterns given with the tt(fignore) array or the
+tt(ignored-patterns) style, these ignored matches are used immediatly
+and no other completer will be called.
+
+It is sometimes useful to set this style for the tt(correct) or
+tt(approximate) completer so that ignored matches are prefered over
+corrections.
+)
 item(tt(prefix-hidden))(
 This is used when matches with a common prefix are added (e.g. option
 names). If it is `true', this prefix will not be shown in the list of