Skip to content
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 amber-lang support #12001

Open
lens0021 opened this issue Nov 5, 2024 · 3 comments · May be fixed by #12021
Open

Add amber-lang support #12001

lens0021 opened this issue Nov 5, 2024 · 3 comments · May be fixed by #12021
Labels
C-enhancement Category: Improvements

Comments

@lens0021
Copy link

lens0021 commented Nov 5, 2024

Amber is

The Programming Language compiled to Bash.
-- https://amber-lang.com/

But currently in their alpha stage.

@lens0021 lens0021 added the C-enhancement Category: Improvements label Nov 5, 2024
@lens0021
Copy link
Author

lens0021 commented Nov 5, 2024

I tried the following configuration

[[grammar]]
name = "amber"
source = { git = "https://github.com/amber-lang/tree-sitter-amber", rev = "01bf07600a9ddc3a7c8a00d9e207dd35b156d93a" }

[[language]]
name = "amber"
scope = "source.ab"
file-types = ["ab"]
comment-token = ["//"]
indent = { tab-width = 4, unit = "    " }

And executed hx -g fetch amber and hx -g build but could not make the syntax highlighting to work. (I don't understand how Helix and tree sitter work!)

@lens0021
Copy link
Author

lens0021 commented Nov 5, 2024

@lens0021
Copy link
Author

lens0021 commented Nov 5, 2024

@lens0021 lens0021 linked a pull request Nov 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant