Fix weird tab-complete after comma
I have no idea why I did this.
This commit is contained in:
vanhempi
4c4d91b449
commit
8a8eab89ff
2
edit.c
2
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':');
|
||||
}
|
||||
|
Ladataan…
x
Viittaa uudesa ongelmassa
Block a user