HiPhish / rainbow-delimiters.nvim

Rainbow delimiters for Neovim with Tree-sitter
https://gitlab.com/HiPhish/rainbow-delimiters.nvim
Apache License 2.0
532 stars 39 forks source link

Update for the new R langage grammar #126

Closed PMassicotte closed 2 months ago

PMassicotte commented 3 months ago

The parser for the R language has been recently rewritten (https://github.com/nvim-treesitter/nvim-treesitter-textobjects/pull/645). This PR adapt the queries for the new node names.

milanglacier commented 3 months ago

Applied this patch and it seems that it is working fine on the R file and markdown (with injection) file.

HiPhish commented 2 months ago

Thank you. You had the (arguments ("(" ")")) pattern twice because switch became arguments as well. I have fixed it already.