diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-08 10:26:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-08 10:26:20 +0000 |
commit | f9a6f521d6475360bee03808ced1f301983bb700 (patch) | |
tree | 6e01b5b9e8b01ca160c211e88a6a451967f39e5d /Src/Zle/comp.h | |
parent | 623351671b7437dee08763bbdf9d2e8e6505e347 (diff) | |
download | zsh-f9a6f521d6475360bee03808ced1f301983bb700.tar.gz zsh-f9a6f521d6475360bee03808ced1f301983bb700.tar.xz zsh-f9a6f521d6475360bee03808ced1f301983bb700.zip |
zsh-workers/8588
Diffstat (limited to 'Src/Zle/comp.h')
-rw-r--r-- | Src/Zle/comp.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h index 59701608e..6f3b2cd16 100644 --- a/Src/Zle/comp.h +++ b/Src/Zle/comp.h @@ -95,7 +95,7 @@ struct cmatch { char *pre; /* prefix string from -P */ char *suf; /* suffix string from -S */ char *disp; /* string to display (compadd -d) */ - char autoq; /* closing quote to add automatically */ + char *autoq; /* closing quote to add automatically */ int flags; /* see CMF_* below */ int *brpl; /* places where to put the brace prefixes */ int *brsl; /* ...and the suffixes */ @@ -115,6 +115,7 @@ struct cmatch { #define CMF_NOLIST 32 /* should not be listed */ #define CMF_DISPLINE 64 /* display strings one per line */ #define CMF_HIDE 128 /* temporarily hide this one */ +#define CMF_NOSPACE 256 /* don't add a space */ /* Stuff for completion matcher control. */ @@ -353,9 +354,11 @@ typedef void (*CLPrintFunc)(Cmgroup, Cmatch *, int, int, int, int, #define CP_ANMATCHES (1 << CPN_ANMATCHES) #define CPN_LISTLINES 26 #define CP_LISTLINES (1 << CPN_LISTLINES) +#define CPN_QUOTES 27 +#define CP_QUOTES (1 << CPN_QUOTES) -#define CP_KEYPARAMS 27 -#define CP_ALLKEYS ((unsigned int) 0x7ffffff) +#define CP_KEYPARAMS 28 +#define CP_ALLKEYS ((unsigned int) 0xfffffff) /* Hooks. */ |