summaryrefslogtreecommitdiff
path: root/vrsite/render.go
diff options
context:
space:
mode:
Diffstat (limited to 'vrsite/render.go')
-rw-r--r--vrsite/render.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vrsite/render.go b/vrsite/render.go
index 61b1a1a..91e07b9 100644
--- a/vrsite/render.go
+++ b/vrsite/render.go
@@ -11,6 +11,7 @@ import (
"strings"
"unsafe"
+ tszig "github.com/tree-sitter-grammars/tree-sitter-zig/bindings/go"
sitter "github.com/tree-sitter/go-tree-sitter"
tsbash "github.com/tree-sitter/tree-sitter-bash/bindings/go"
tsc "github.com/tree-sitter/tree-sitter-c/bindings/go"
@@ -291,6 +292,7 @@ var grammars = []struct {
// .h is C++'s upstream claim, and the C++ grammar is a superset: C headers
// parse the same under it, C++ headers only parse under it
{[]string{".cc", ".cpp", ".cxx", ".h", ".hh", ".hpp", ".hxx"}, []string{"c", "cpp"}, tscpp.Language},
+ {[]string{".zig"}, []string{"zig"}, tszig.Language},
{[]string{".json"}, []string{"json"}, tsjson.Language},
{[]string{".sh", ".bash"}, []string{"bash"}, tsbash.Language},
}