nix-community / emacs-overlay

Bleeding edge emacs overlay [maintainer=@adisbladis]
508 stars 168 forks source link

How to install a custom tree-sitter grammar? #446

Closed arthsmn closed 3 weeks ago

arthsmn commented 4 weeks ago

I saw https://github.com/nix-community/emacs-overlay/issues/341 and wondered how could I install a custom one. I currently would like to use https://github.com/dataphract/kdl-ts-mode and it depends on https://github.com/dataphract/tree-sitter-kdl, but I can't figure out how to make the grammar available.

adisbladis commented 3 weeks ago

Not an overlay issue.

For packaging grammars look in nixpkgs.