Vendored tree-sitter-go-mod
  • JavaScript 49.6%
  • CMake 40.8%
  • Tree-sitter Query 9.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-13 22:48:09 +02:00
bindings Remove tree-sitter dependency to avoid duplicate linking 2026-04-13 22:48:09 +02:00
queries queries/highlights: add the 'toolchain' keyword 2023-12-07 22:37:08 +01:00
src fix conflict between single-token comments and file paths 2025-10-22 23:18:54 -06:00
test/corpus fix conflict between single-token comments and file paths 2025-10-22 23:18:54 -06:00
.editorconfig Upgrade to Tree-sitter 0.23 2024-09-11 16:27:26 -04:00
.gitattributes regenerate build scripts 2025-10-22 23:23:17 -06:00
.gitignore regenerate build scripts 2025-10-22 23:23:17 -06:00
binding.gyp Upgrade to Tree-sitter 0.23 2024-09-11 16:27:26 -04:00
Cargo.toml Remove tree-sitter dependency to avoid duplicate linking 2026-04-13 22:48:09 +02:00
CMakeLists.txt fix conflict between single-token comments and file paths 2025-10-22 23:18:54 -06:00
go.mod Upgrade to Tree-sitter 0.23 2024-09-11 16:27:26 -04:00
grammar.js fix conflict between single-token comments and file paths 2025-10-22 23:18:54 -06:00
LICENSE Add MIT license 2021-05-11 20:42:18 -06:00
Makefile regenerate build scripts 2025-10-22 23:23:17 -06:00
package.json bump versions, regenerate 2025-01-11 12:49:13 -07:00
Package.swift SPM support 2022-05-07 07:46:24 -04:00
pyproject.toml regenerate build scripts 2025-10-22 23:23:17 -06:00
README.md rename module and update tree-sitter 2023-07-31 11:10:03 -06:00
setup.py regenerate build scripts 2025-10-22 23:23:17 -06:00
tree-sitter.json bump versions, regenerate 2025-01-11 12:49:13 -07:00

tree-sitter-gomod

tree-sitter grammar for go.mod files.

Status

The grammar is fairly small, and has been working well for highlighting for me. I expect it to evolve slightly to better fit tree-sitter best practices, but there shouldn't be anything major.