Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/rust/lib.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 1 addition & 19 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,37 +30,19 @@ build:
test *args: generate
tree-sitter test {{ args }}

[private]
remove-local:
rm -rf ~/.local/share/nvim/lazy/nvim-treesitter/queries/wit

# Install the queries locally
install-local: remove-local
cp -r ./queries ~/.local/share/nvim/lazy/nvim-treesitter/queries/wit

fmt:
eslint --fix grammar.js
npx eslint --fix grammar.js
ts_query_ls format ./queries
# topiary fmt ./examples/*.wit
just --fmt --unstable
nixfmt flake.nix shell.nix

alias fmt-queries := format-queries

# Format the queries
format-queries:
nvim -l scripts/format-queries.lua

# Lint all the things
lint:
npx eslint grammar.js
typos
just --fmt --unstable --check

# Format the grammar
format-grammar:
npx eslint --fix grammar.js

# updates node package.json to latest available
update:
pnpm outdated --format json | jq 'keys[]' | xargs pnpm update
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools>=62.4.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down
2 changes: 0 additions & 2 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"deprecated"
] @attribute.builtin)


(unstable_gate
feature: (id) @string)

Expand Down Expand Up @@ -175,7 +174,6 @@

"_" @variable.parameter.builtin


[
";"
":"
Expand Down
2 changes: 2 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading