Add "tool" support to go.mod (#22995)
Closes #ISSUE Release Notes: - Fixed highlighting of ["tool" directives](https://tip.golang.org/doc/go1.24#tools) in go.mod
This commit is contained in:
parent
67525cca71
commit
45198f2af4
3 changed files with 4 additions and 3 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -13658,8 +13658,8 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tree-sitter-gomod"
|
||||
version = "1.0.2"
|
||||
source = "git+https://github.com/zed-industries/tree-sitter-go-mod?rev=a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca#a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca"
|
||||
version = "1.1.1"
|
||||
source = "git+https://github.com/camdencheek/tree-sitter-go-mod?rev=6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c#6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"tree-sitter-language",
|
||||
|
|
|
@ -494,7 +494,7 @@ tree-sitter-css = "0.23"
|
|||
tree-sitter-elixir = "0.3"
|
||||
tree-sitter-embedded-template = "0.23.0"
|
||||
tree-sitter-go = "0.23"
|
||||
tree-sitter-go-mod = { git = "https://github.com/zed-industries/tree-sitter-go-mod", rev = "a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca", package = "tree-sitter-gomod" }
|
||||
tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
|
||||
tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
|
||||
tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
|
||||
tree-sitter-diff = "0.1.0"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"replace"
|
||||
"go"
|
||||
"toolchain"
|
||||
"tool"
|
||||
"exclude"
|
||||
"retract"
|
||||
"module"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue