Fix custom syntax files not highlighting

Fixes #1530
This commit is contained in:
Zachary Yedidia
2020-02-27 00:58:52 -05:00
parent b12886b066
commit a6f5dee45c

View File

@@ -586,6 +586,7 @@ func (b *Buffer) UpdateRules() {
continue
}
b.SyntaxDef = syndef
syntaxFile = f.Name()
break
}
}