Files
go-highlite/syntax/stxMan.go
T

21 lines
408 B
Go

//go:build stxMan || stxAll
package syntax
func init() {
syntaxMap["man"] = &lazySyntax{init: func() []byte {
return []byte(`filetype: man
detect:
filename: "\\.[1-9]x?$"
rules:
- green: "\\.(S|T)H.*$"
- brightgreen: "\\.(S|T)H|\\.TP"
- brightred: "\\.(BR?|I[PR]?).*$"
- brightblue: "\\.(BR?|I[PR]?|PP)"
- brightwhite: "\\\\f[BIPR]"
- yellow: "\\.(br|DS|RS|RE|PD)"`)
}}
}