mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 23:42:54 +00:00
22 lines
489 B
Go
22 lines
489 B
Go
package styles
|
|
|
|
import "github.com/carapace-sh/carapace/pkg/style"
|
|
|
|
var Golang = struct {
|
|
Constant string `description:"go constant"`
|
|
Field string `description:"go field"`
|
|
Function string `description:"go function"`
|
|
Type string `description:"go type"`
|
|
Variable string `description:"go variable"`
|
|
}{
|
|
Constant: style.Magenta,
|
|
Field: style.Green,
|
|
Function: style.Blue,
|
|
Type: style.Yellow,
|
|
Variable: style.Default,
|
|
}
|
|
|
|
func init() {
|
|
style.Register("golang", &Golang)
|
|
}
|