-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Hoon #9024
Add Hoon #9024
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helix needs queries under runtime/queries/hoon/highlights.scm
in order to provider syntax highlighting: https://docs.helix-editor.com/master/guides/adding_languages.html#queries
languages.toml
Outdated
[[grammar]] | ||
name = "hoon" | ||
source = { git = "https://github.com/urbit-pilled/tree-sitter-hoon", rev = "1d5df35af3e0afe592832a67b9fb3feeeba1f7b6" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this below the language definition so it's formatted the same as the other languages
Looks like there is a language server: https://github.com/urbit/hoon-language-server might be nice to add the config for it if it works and add it to the wiki. If not that's not a blocker |
Running the language server isn't as simple as running a binary at the root of the project. There's more setup involved. From what I heard the language server doesn't work that well and nobody actually uses it. |
languages.toml
Outdated
[[grammar]] | ||
name = "hoon" | ||
source = { git = "https://github.com/urbit-pilled/tree-sitter-hoon", rev = "1d5df35af3e0afe592832a67b9fb3feeeba1f7b6" } | ||
|
||
name = "janet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the merge cut off some lines. The Hoon
line at the top here can be removed and the name = "janet"
line should have a line that says [[language]]
above it
50950fb
to
783ff27
Compare
No description provided.