5373c90c55a33408604d17713edaa9560306b83di in nvim-treesitter updated the R parser and makes the query in rainbow-delimiters incompatible.
I did some fix in the query by replacing the keyword name with the latest parser ( and it seems that the switch keyword is completely removed), attached is the diff, but this is still not a fully resolve, there are still some bugs which are out of my capability to solve, as I am not that familiar with treesitter query.
However, I still get the following error when trying to opening a markdown file with R code block:
Error in decoration provider treesitter/highlighter.win:
Error executing lua: ...m/0.10.0/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 2:3. Impossible pattern:
which suggests that the rainbow-delimiters.query at line 2 col 3 does not work: Understanding why this does not work is beyond my knowledge, sorry for that.
Neovim version
0.10
Language affected
R
Query
rainbow-delimiter
Strategy
global
Description
5373c90c55a33408604d17713edaa9560306b83di in nvim-treesitter updated the R parser and makes the query in rainbow-delimiters incompatible.
I did some fix in the query by replacing the keyword name with the latest parser ( and it seems that the
switch
keyword is completely removed), attached is the diff, but this is still not a fully resolve, there are still some bugs which are out of my capability to solve, as I am not that familiar with treesitter query.However, I still get the following error when trying to opening a markdown file with R code block:
which suggests that the rainbow-delimiters.query at line 2 col 3 does not work: Understanding why this does not work is beyond my knowledge, sorry for that.