Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Highlighter ¶
type Highlighter struct {
// contains filtered or unexported fields
}
func NewHighlighter ¶
func NewHighlighter(name string, grammarPath string, highlightsPath string) *Highlighter
func (*Highlighter) Highlight ¶
func (h *Highlighter) Highlight(offset int, buf rope.RopeNode) (highlights highlighter.Highlights)
func (*Highlighter) Initialize ¶
func (h *Highlighter) Initialize(theme theme.EditorTheme)
Click to show internal directories.
Click to hide internal directories.