mrjones2014/nvim-ts-rainbow

Doesn’t work for Elvish

cherryblossom000 opened this issue · 1 comments

https://github.com/ckafi/tree-sitter-elvish

I understand that Elvish is a fairly niche/uncommon language, so I understand if supporting it isn’t worth it, but perhaps there’s something missing in the Elvish grammar.js which is why it doesn’t work?

I’m pretty new to nvim-treesitter so when I looked at the source code of this plugin I couldn’t quite figure out how it worked. Perhaps some explanation for how this plugin works or a guide for how to ensure languages work with this plugin would be useful.

I'm still trying to get a full grasp of how this project works, but I believe all that's needed to support additional languages is adding the Treesitter query under https://github.com/mrjones2014/nvim-ts-rainbow/tree/master/queries