Syntax highlighting should be available for general assembly files (.S
)
#7251
Unanswered
caoimhebyrne
asked this question in
General
Replies: 1 comment 3 replies
-
I tried using tree-sitter-asm myself, but it doesn't work. [[language]]
name = "asm"
scope = "source.asm"
file-types = ["S", "s"]
roots = []
comment-token = "//"
[[grammar]]
name = "asm"
source = { git = "https://github.com/rush-rs/tree-sitter-asm", rev = "36dc26acc7818920de2e103e20a9f42358caf926" } Also ran: ❯ hx --grammar fetch
Fetching 7 grammars
6 up to date git grammars
1 updated grammars
asm now on 36dc26acc7818920de2e103e20a9f42358caf926
❯ hx --grammar build
Building 7 grammars
7 grammars built now
["asm", "bash", "c", "cpp", "javascript", "tsx", "typescript"] |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, they look pretty ugly, just from a quick search on Google, I've found tree-sitter-asm, which supports a generic asm syntax. I'm not sure if we can configure Helix to use it, but it would also be nice to have built-in support for this.
Beta Was this translation helpful? Give feedback.
All reactions