Skip to content

Instantly share code, notes, and snippets.

@nilium
Last active December 28, 2025 22:54
Show Gist options
  • Select an option

  • Save nilium/c83118a231370e36d7f3c427d37b84ad to your computer and use it in GitHub Desktop.

Select an option

Save nilium/c83118a231370e36d7f3c427d37b84ad to your computer and use it in GitHub Desktop.
Uiua config for Helix
# To be put in ~/.config/helix/languages.toml
# Requires running `hx --grammar fetch` followed by `hx --grammar build`
# which can take some time.
[[grammar]]
name = "uiua"
[grammar.source]
git = "https://github.com/shnarazk/tree-sitter-uiua"
rev = "868b3d672d5622add493437eb7f2ee6956f14ccf"
[[language]]
auto-format = true
comment-tokens = "#"
file-types = ["ua"]
injection-regex = "uiua"
language-servers = ["uiua"]
name = "uiua"
scope = "source.uiua"
shebangs = ["uiua"]
[language.formatter]
args = ["fmt", "--io"]
command = "uiua"
[language.indent]
tab-width = 4
unit = " "
[language-server.uiua]
args = ["lsp"]
command = "uiua"
@nilium
Copy link
Author

nilium commented Dec 28, 2025

That's likely going to depend on how you've installed the compiler and whether it's in the PATH. I'd start by checking that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment