Files
oak-gpui/crates/languages/src/gomod/highlights.scm
T
Bing Wang 379bdb227a languages: Add ignore keyword for gomod (#41520)
go 1.25 introduce ignore directive in go.mod to specify directories the
go command should ignore.

ref: https://tip.golang.org/doc/go1.25#go-command


Release Notes:

- Added syntax highlighting support for the new [`ignore`
directive](https://tip.golang.org/doc/go1.25#go-command) in `go.mod`
files
2025-11-03 09:11:50 -06:00

21 lines
185 B
Scheme

[
"require"
"replace"
"go"
"toolchain"
"tool"
"exclude"
"retract"
"module"
"ignore"
] @keyword
"=>" @operator
(comment) @comment
[
(version)
(go_version)
] @string