tree-sitter-uiua
tree-sitter-uiua copied to clipboard
Uiua grammar for tree-sitter. Finally, Uiua programmers get AST-based editing features.
tree-sitter-uiua
Finally, Uiua programmers get AST-based editing features.
References
A configuration for Helix
Are you a Helix user? Then try:
-
[Optional] Add the basic configuration
-
Add the following to your $CONFIG/helix/languages.toml
[[grammar]]
name = "uiua"
source.git = "https://github.com/shnarazk/tree-sitter-uiua"
source.rev = commit-id-as-string
- Build up on shell:
$ hx -g fetch
$ hx -g build
- Copy query files:
$ mkdir -p $HELIX/runtime/queries/uiua # or make your query directory
$ cp -r queries $HELIX/runtime/queries/uiua
Now you can:
- traverse modules by
]tand[t - traverse comments by
]cand[c - and any AST-based editing as other languages