Support all rules in ansi.Colorize(); allow custom colors

This commit is contained in:
RandyTheSilly committed 2025-06-15 15:42:22 -04:00
1 parent fb66728b59
commit 7e2b926431
3 files changed
+67 -20

No files matched your search

+21
View File
@@ -2,6 +2,27 @@ package syntax
import "sync"
// Syntax Rules Master List
// comment
// constant
// constant.bool
// constant.number
// constant.specialChar
// constant.string
// error
// identifier
// identifier.macro
// identifier.var
// keyword
// preproc
// special
// statement
// symbol
// symbol.brackets
// symbol.operator
// todo
// type
var syntaxMap = make(map[string]*lazySyntax)
type lazySyntax struct {