Support include statements in syntax files

This commit is contained in:
Zachary Yedidia
2017-02-20 16:09:16 -05:00
parent 56e98ea5f4
commit d602cb68ca
3 changed files with 20 additions and 3 deletions

View File

@@ -14,6 +14,8 @@ func LoadSyntaxFiles() {
LoadSyntaxFile(data, f.Name())
}
}
highlight.ResolveIncludes(syntaxDefs)
}
func LoadSyntaxFile(text []byte, filename string) {