about summary refs log tree commit diff
path: root/Src/Zle/zle_tricky.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-16 07:52:05 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-16 07:52:05 +0000
commit1416862b6311f67848a35ea5b4cc8ed7d5fb7fbc (patch)
treefc3460af83e7360a11b334ff7ea7d27ea82e17fd /Src/Zle/zle_tricky.c
parentae2b3953df36a9f95e268906b736b407a2739784 (diff)
downloadzsh-1416862b6311f67848a35ea5b4cc8ed7d5fb7fbc.tar.gz
zsh-1416862b6311f67848a35ea5b4cc8ed7d5fb7fbc.tar.xz
zsh-1416862b6311f67848a35ea5b4cc8ed7d5fb7fbc.zip
allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) (11939)
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r--Src/Zle/zle_tricky.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 11f86ba92..af0c43f57 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -1434,10 +1434,6 @@ get_comp_string(void)
 		    }
 		}
 	    } else if (p < curs) {
-		if (*p == Outbrace) {
-		    cant = 1;
-		    break;
-		}
 		if (*p == Inbrace) {
 		    if (bbeg) {
 			Brinfo new;
@@ -1474,10 +1470,6 @@ get_comp_string(void)
 		    hascom = 1;
 		}
 	    } else {
-		if (*p == Inbrace) {
-		    cant = 1;
-		    break;
-		}
 		if (p == curs) {
 		    if (bbeg) {
 			Brinfo new;