gilo/editor/highlight/fn.go
Timothy J. Warren 6cdb658d43
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
Simplify package paths
2021-04-07 13:10:40 -04:00

13 lines
192 B
Go

package highlight
import "timshome.page/gilo/terminal"
func SyntaxToColor(hl int) string {
switch hl {
case Number:
return terminal.FGRed
default:
return terminal.DefaultFGColor
}
}