bim: fixup conf syntax

This commit is contained in:
K. Lange 2018-11-12 11:00:49 +09:00
parent b25b8242b0
commit f1eb966787

View File

@ -1328,6 +1328,7 @@ static char * syn_rust_ext[] = {".rs",NULL};
static int syn_conf_extended(line_t * line, int i, int c, int last, int * out_left) {
(void)last;
if (i == 0) {
if (c == ';') {
*out_left = (line->actual + 1) - i;
return FLAG_COMMENT;
@ -1338,7 +1339,6 @@ static int syn_conf_extended(line_t * line, int i, int c, int last, int * out_le
return FLAG_KEYWORD;
}
if (i == 0) {
int j = 0;
for (; j < line->actual; ++j) {
if (line->text[j].codepoint == '=') {