Add go-mod tree-sitter config

Adds a tree-sitter config for go.mod files as well as highlighting
queries.
This commit is contained in:
Camden Cheek 2021-04-27 15:17:42 -06:00 committed by Thomas Vigouroux
parent 788d212ab3
commit 07fc8cc20e
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,17 @@
[
"require"
"replace"
"go"
"exclude"
"retract"
"module"
] @keyword
"=>" @operator
(comment) @comment
[
(version)
(go_version)
] @string