HiPhish / nvim-ts-rainbow2

Rainbow delimiters for Neovim through Tree-sitter
https://gitlab.com/HiPhish/nvim-ts-rainbow2
Apache License 2.0
338 stars 35 forks source link

[Feature] Support Vuejs #13

Closed TuanHaTMS closed 1 year ago

TuanHaTMS commented 1 year ago

Hi, can you add support for vue js with typescript. Really love this plugin, Thanks!!

HiPhish commented 1 year ago

I don't know enough about Vue to do it myself, but if you help me out we might be able to make it work. From my understanding a Vue file contains one or more of the tags <script>, <template> and <style>, each of which contains either Javacript/Typescript, HTML or CSS respectively. Is this correct?

If so, then an empty query should be enough, the other language grammars would take over from there. Can you please provide me with an exhaustive Vue script file that covers all the cases? Then I could try and see if an empty query does the trick.

tuanha168 commented 1 year ago

@HiPhish Hi, I created a PR for vuejs, can you check it ?

14

HiPhish commented 1 year ago

Closing this issue as resolved