Finally, Uiua programmers get AST-based editing features.
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
]t
and[t
- traverse comments by
]c
and[c
- and any AST-based editing as other languages