diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2006-02-13 11:01:04 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2006-02-13 11:01:04 +0000 |
commit | f8e97151de219f703dce7ecd0053f51ff8b228e1 (patch) | |
tree | fa0ce7400c18f02b27a8bf1655156da9a5f2b01f /Src/Zle/zle_tricky.c | |
parent | a4d4cf5cf872e18d678476b76fe5ee83bafd0fa9 (diff) | |
download | zsh-f8e97151de219f703dce7ecd0053f51ff8b228e1.tar.gz zsh-f8e97151de219f703dce7ecd0053f51ff8b228e1.tar.xz zsh-f8e97151de219f703dce7ecd0053f51ff8b228e1.zip |
Call makecommaspecial() when we notice we're completing inside
an open brace list.
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index fb2af7599..09cbb0a92 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -586,6 +586,7 @@ docomplete(int lst) } active = 1; comprecursive = 0; + makecommaspecial(0); if (undoing) setlastline(); @@ -662,6 +663,7 @@ docomplete(int lst) unmetafy_line(); zsfree(s); active = 0; + makecommaspecial(0); return 1; } ocs = zlemetacs; @@ -852,6 +854,7 @@ docomplete(int lst) unmetafy_line(); active = 0; + makecommaspecial(0); return dat[1]; } @@ -1593,6 +1596,7 @@ get_comp_string(void) p = tp - 1; continue; } + makecommaspecial(1); if (bbeg) { Brinfo new; int len = bend - bbeg; @@ -1639,6 +1643,7 @@ get_comp_string(void) continue; } cant = 1; + makecommaspecial(1); break; } if (p == curs) { |