Last active
December 28, 2025 22:54
-
-
Save nilium/c83118a231370e36d7f3c427d37b84ad to your computer and use it in GitHub Desktop.
Uiua config for Helix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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" |
Author
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
godsend, thank you <3
I wasn't able to get
hx --grammer buildto work, getting this errorIf anybody knows how to fix that, I'd love to hear how. cpp compiler is definitely present...