Closed mguzmann closed 1 year ago
Do you have the most updated tree-sitter-langs
installed? It ships the r
things and we don't need to compile the tree-sitter-r mannully.
If you don't have verion 20221126 of tree-sitter-langs
installed, do you have tree-sitter-r's r.dll or r.so?
Yes, I have 20221126.446. Other tree-sitter packages like ts-fold work fine with R. r.so is in the language library.
How about call tree-sitter-ess-r-using-r-faces
?
The tree-sitter-hl-default-patterns
is set to the content of highlights.scm
in the tree-sitter-langs-20221126.446/queries/r
. If it is not, there is something wrong with tree-sitter-langs
.
Actually, if the tree-sitter-ess-r
is not loaded, the tree-sitter-hl-mode
will handle r as other supported languages. tree-sitter-ess-r
just makes the highlights like ess-r.
Ok, I must have made a mistake because the file was called highlight.scm
and tree-sitter couldn't find it. Thanks.
I followed the instructions but the highlighting seems to not be doing anything. There are no errors but there is also nothing happening. At least I don't get anything.
If I understand treesitter correctly, the variable
tree-sitter-hl-default-patterns
must be set to something. But this mod does not seem to set it. Am I wrong here?