zed
zed copied to clipboard
Add Nickel syntax highlighting
- Adds tree-sitter-nickel (nickel-lang.org)
- Adds highlights and injections queries
Release Notes:
- Added Nickel syntax highlighting
We require contributors to sign our Contributor License Agreement, and we don't have @szlend on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.
We require contributors to sign our Contributor License Agreement, and we don't have @szlend on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.
The cla-bot has been summoned, and re-checked this pull request!
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Please also add a new docs entry to the https://github.com/zed-industries/zed/tree/main/docs/src/languages list
@szlend Thanks for the PR. I think that for right now, we need to limit how many languages we bundle into Zed because of compile time issues. Because Nickel is a bit more obscure of a language, I'd like to hold off on adding it, for the sake of our app's build time.
We are actively working on the ability for Zed to load arbitrary Tree-sitter parsers via Wasm files. It is one of my top priorities at the moment. Once that happens, we'll be able to have a Nickel plugin, and we plan to automatically surface available plugins when users are editing unsupported file extensions. You'll be able to package the exact code that you wrote here into an extension.
Here is a tracking issue for our support of language extensions: https://github.com/zed-industries/zed/issues/7096.
No worries, makes sense.