1
0
Fork 0
gilo/editor/highlight/constants.go

23 lines
420 B
Go

package highlight
// ----------------------------------------------------------------------------
// !Syntax Highlighting Constants
// ----------------------------------------------------------------------------
const (
Normal = iota
Number
Match
)
const HighlightNumbers = (1 << 0)
var HLDB = []*Syntax{{
"c",
[]string{".c", ".h", ".cpp"},
HighlightNumbers,
}, {
"go",
[]string{".go"},
HighlightNumbers,
}}