summaryrefslogtreecommitdiff
path: root/vrsite/render.go
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 17:38:06 -0300
committerGabriel Schneider <[email protected]>2026-08-02 23:11:01 -0300
commita9263daee9413c5eff3c1f1bebcd224442fd8685 (patch)
treef0a74fe1420cd9933cb2f85dc8313914aa674e94 /vrsite/render.go
parente16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb (diff)
downloadnotevi-a9263daee9413c5eff3c1f1bebcd224442fd8685.tar.gz
notevi-a9263daee9413c5eff3c1f1bebcd224442fd8685.zip
vrsite: toggle repository file list
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},
}