Skip to content

Commit 6672bf1

Browse files
committed
fix: resolve conflict
1 parent 84f079b commit 6672bf1

File tree

6 files changed

+28
-0
lines changed

6 files changed

+28
-0
lines changed

.github/workflows/update-grammars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- gleam
5757
- glsl
5858
- go
59+
- go-mod
5960
- gpr
6061
- graphql
6162
- groovy

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,3 +673,9 @@
673673
branch = main
674674
update = none
675675
ignore = dirty
676+
[submodule "repos/go-mod"]
677+
path = repos/go-mod
678+
url = https://github.com/camdencheek/tree-sitter-go-mod
679+
update = none
680+
ignore = dirty
681+
branch = main

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## Unreleased
4+
- Add `Go Mod` support
45

56
## 0.12.358 - 2025-12-29
67

queries/go-mod/highlights.scm

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
"require"
3+
"replace"
4+
"go"
5+
"toolchain"
6+
"exclude"
7+
"retract"
8+
"module"
9+
] @keyword
10+
11+
"=>" @operator
12+
13+
(comment) @comment
14+
15+
[
16+
(version)
17+
(go_version)
18+
] @string

repos/go-mod

Submodule go-mod added at 2e88687

tree-sitter-langs.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ See `tree-sitter-langs-repos'."
144144
(gleam-mode . gleam)
145145
(glsl-mode . glsl)
146146
(go-mode . go)
147+
(go-dot-mod-mode . go-mod)
147148
(gpr-mode . gpr)
148149
(graphql-mode . graphql)
149150
(groovy-mode . groovy)

0 commit comments

Comments
 (0)