diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-01 17:26:10 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-03 16:44:14 +0000 |
commit | b4d5a55b39399e391132fb15cc47533cc2547991 (patch) | |
tree | 18bd73f83aed88736fd4b1f5f459f230e5122f17 /Src/Zle/comp.h | |
parent | 952e607395ffd7e7592227344139e611854cf2c8 (diff) | |
download | zsh-b4d5a55b39399e391132fb15cc47533cc2547991.tar.gz zsh-b4d5a55b39399e391132fb15cc47533cc2547991.tar.xz zsh-b4d5a55b39399e391132fb15cc47533cc2547991.zip |
39804: internal: Document matchspec flags.
Diffstat (limited to 'Src/Zle/comp.h')
-rw-r--r-- | Src/Zle/comp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h index dfac35cfb..14af6173c 100644 --- a/Src/Zle/comp.h +++ b/Src/Zle/comp.h @@ -160,9 +160,15 @@ struct cmatcher { int ralen; /* length of right anchor */ }; +/* Flags for cmatcher::flags */ +/* Upon match, insert the string from the line rather than the string + * from the trial completion ("word"). */ #define CMF_LINE 1 +/* Match with an anchor on the left. */ #define CMF_LEFT 2 +/* Match with an anchor on the right. */ #define CMF_RIGHT 4 +/* ... */ #define CMF_INTER 8 /* |