shisho icon indicating copy to clipboard operation
shisho copied to clipboard

Language support: nix

Open 06kellyjac opened this issue 2 years ago • 2 comments

tree-sitter grammar is here.

I'm a nix user and I really like the look of shisho :heart:

Last I checked the grammar wasn't super fully featured for syntax highlighting but I believe most language features are covered, and there have been some updates since.


I'm packaging shisho for nixpkgs here: https://github.com/NixOS/nixpkgs/pull/165485

It will be built and cached for the following platforms:

  • aarch64-linux
  • i686-linux
  • x86_64-linux
  • x86_64-darwin
  • aarch64-darwin

06kellyjac avatar Mar 23 '22 19:03 06kellyjac

Thank you so much! https://github.com/NixOS/nixpkgs/pull/165485 sounds awesome! ❤️

From what I've seen of the grammar, I guess implementing the nix support in Shisho won't be so hard. I'll work on the implementation soon :)

lmt-swallow avatar Mar 24 '22 03:03 lmt-swallow

ありがとう。

If there's any documentation that helps explain the implementation process I'd be happy to help with this or other languages 🙂

06kellyjac avatar Mar 24 '22 07:03 06kellyjac