Browse Source

Fix weird tab-complete after comma

I have no idea why I did this.
June 2 months ago
parent
commit
8a8eab89ff
Signed by: Curtis McEnroe <june@causal.agency> GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      edit.c

+ 1
- 1
edit.c View File

@@ -125,7 +125,7 @@ static void complete(struct Tag tag) {
125 125
 	if (!pos && line.tab[0] != L'/') {
126 126
 		insert(L':');
127 127
 	} else if (pos >= 2) {
128
-		if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') {
128
+		if (line.buf[pos - 2] == L':') {
129 129
 			line.buf[pos - 2] = L',';
130 130
 			insert(L':');
131 131
 		}

Loading…
Cancel
Save