We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8c6dd commit 905d632Copy full SHA for 905d632
packages/opencode/parsers-config.ts
@@ -249,5 +249,19 @@ export default {
249
],
250
},
251
252
+ {
253
+ filetype: "nix",
254
+ // TODO: Replace with official tree-sitter-nix WASM when published
255
+ // See: https://github.com/nix-community/tree-sitter-nix/issues/66
256
+ wasm: "https://github.com/ast-grep/ast-grep.github.io/raw/40b84530640aa83a0d34a20a2b0623d7b8e5ea97/website/public/parsers/tree-sitter-nix.wasm",
257
+ queries: {
258
+ highlights: [
259
+ "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/nix/highlights.scm",
260
+ ],
261
+ locals: [
262
+ "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/nix/locals.scm",
263
264
+ },
265
266
267
}
0 commit comments