-
Notifications
You must be signed in to change notification settings - Fork 437
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 Helm extension #443
Add Helm extension #443
Conversation
It looks like there are still some problems when trying to compile the
|
The function is probably called Also, since this is a new extension, it'd be good to be using the latest extension schema and API. Could you copy the structure of the extensions in here? https://github.com/zed-industries/zed/tree/main/extensions |
Alright, I think I can do that by forking the other repo...
Do I need to create a |
That would only be needed if there is a Helm language server. |
Ok, here are the changes I've made to the extension: https://github.com/hjoshi123/helm.zed/pull/1/files |
Thanks for the help so far, let me know if there are any other changes I need to make to get this working. |
The |
Ok, it has been removed. |
Updated the submodule and confirmed it uses underscores now. CI keeps failing, weird. |
It looks like the grammar actually is called |
Looks like it's now failing on: https://github.com/cabrinha/helm.zed/blob/master/languages/gotmpl/injections.scm#L1 |
Yeah, apparently |
Not sure, but here is the line: https://github.com/cabrinha/helm.zed/blob/master/languages/gotmpl/injections.scm#L1 Basically, Helm syntax is a combination of yaml and go-template, there is a tree sitter for both, but I don't know the proper way to combine them. I forked this repo: https://github.com/hjoshi123/helm.zed If there is anything I can do to fix this issue, just let me know. |
Interesting note in the README from the go-template tree-sitter: Does this mean I should change I've changed |
Now, I'm wondering if this approach is correct to use the @maxbrunsfeld do you think we're still on the right track here? |
Discussed in discord, author has decided to discontinue this effort, that said extension is very close, just needs to improve the association between heml and yaml. If someone else is interested in picking it up and finishing this, we'd be happy to have it :) |
Well, there is https://github.com/mrjosh/helm-ls 😄 Perhaps I can provide some information on how helm is currently handled in Neovim:
|
Support for https://helm.sh