mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Use SIMD to replace C0 control codes in Go code
This commit is contained in:
@@ -26,7 +26,7 @@ func (s prefer_light_colors) SyntaxAliases() map[string]string { return c
|
||||
func (s prefer_light_colors) TextForPath(path string) (string, error) { return data_for_path(path) }
|
||||
|
||||
var highlighter = sync.OnceValue(func() highlight.Highlighter {
|
||||
return highlight.NewHighlighter(sanitize())
|
||||
return highlight.NewHighlighter(sanitize)
|
||||
})
|
||||
|
||||
func highlight_all(paths []string, light bool) {
|
||||
|
||||
Reference in New Issue
Block a user