Timothy J. Warren
6cdb658d43
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
13 lines
192 B
Go
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
|
|
}
|
|
}
|