- Revised code example

- Added new lexers and revised existing
This commit is contained in:
Jesse Portnoy committed 2023-07-16 23:44:37 +01:00
1 parent 3e2e307e62
commit 571529568c
9 files changed
+55 -5

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ func main() {
syn_dir = gopath + "/src/github.com/jessp01/highlight/syntax_files"
}
syn_dir = os.Getenv("SYNDIR")
var defs []*highlight.Def
err := highlight.ParseSyntaxFiles (syn_dir, &defs)
if err != nil {