mrjones2014 / nvim-ts-rainbow

Rainbow parentheses for neovim using tree-sitter.
Apache License 2.0
174 stars 4 forks source link

Doesn’t work for Elvish #12

Open cherryblossom000 opened 1 year ago

cherryblossom000 commented 1 year ago

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.

mrjones2014 commented 1 year ago

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