mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-10-27 20:00:16 -04:00
Make some types private
This commit is contained in:
1 parent
d7faef9d8d
commit
cb792c0985
4 files changed
+58
-48
No files matched your search
@@ -47,6 +47,7 @@ func main() {
|
||||
colN := 0
|
||||
for _, c := range l {
|
||||
if group, ok := matches[lineN][colN]; ok {
|
||||
// There are more possible groups available than just these ones
|
||||
if group == highlight.Groups["statement"] {
|
||||
color.Set(color.FgGreen)
|
||||
} else if group == highlight.Groups["identifier"] {
|
||||
|
||||
Reference in new issue
Block a user