From 8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 13 Sep 2018 01:50:46 -0400 Subject: Fix weird tab-complete after comma I have no idea why I did this. --- edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'edit.c') diff --git a/edit.c b/edit.c index 38ee843..88301f6 100644 --- a/edit.c +++ b/edit.c @@ -125,7 +125,7 @@ static void complete(struct Tag tag) { if (!pos && line.tab[0] != L'/') { insert(L':'); } else if (pos >= 2) { - if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') { + if (line.buf[pos - 2] == L':') { line.buf[pos - 2] = L','; insert(L':'); } -- cgit 1.4.1-2-gfad0