diff options
author | Curtis McEnroe | 2018-09-13 01:50:46 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-09-13 01:50:46 -0400 |
commit | 8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1 (patch) | |
tree | 18ac8047ff78def0e0c6c22002b09d3016b03ab1 | |
parent | 4c4d91b4499d3a4bdc3850c4ad8a1713ce3a8e65 (diff) |
Fix weird tab-complete after comma
I have no idea why I did this.
-rw-r--r-- | edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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':'); } |