-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 initial Smithy support #6370
Add initial Smithy support #6370
Conversation
Thanks! Could you add a note about coursier to the language server wiki? https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers |
Thank you! Added a small section: https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers#smithy-language-server |
This is awesome @zetashift. Any reason you used the Disney version instead of the version maintained by AWS? The AWS version has additional fixes like not crashing if there isn't a smithy-build.json file. It can also be installed through Coursier (via their contrib channel) using:
|
Hi @mtdowling! At first I wanted to use the version maintained by AWS, but when I was looking at what neovim's mason plugin does: https://github.com/mason-org/mason-registry/pull/148/files#diff-842575865783293dbaedbb7d5de0a10794860d0a04d6e26acd437927d206baae I kinda got scared and just went with Disney's, because that one has a simple coursier install command, and I am more familiar with Scala. But able to use coursier for the AWS one changes things quite a lot for me... :P. How about I make a new PR that uses the LS of AWS and coursier? EDIT: or if you know of better "run the LS" programs/commands I can look into that too, I just made this PR on whatever got me up and running the quickest |
Yeah a PR to use the AWS version would be awesome!
For now, using |
Thank you for the coursier tip, the PR is up: #6370 (comment) |
Adds syntax highlighting support for https://smithy.io/2.0/index.html a meta-modeling language to describe APIs.
LSP: https://github.com/disneystreaming/smithy-language-server
Treesitter grammar: https://github.com/indoorvivants/tree-sitter-smithy