R-nvim / R.nvim

Neovim plugin to edit R files
GNU General Public License v3.0
128 stars 15 forks source link

R.nvim struggles to find parsers #139

Closed akthe-at closed 1 month ago

akthe-at commented 1 month ago

Warn notify.warn R.nvim R.nvim requires treesitter parsers for "r", "markdown" and "rnoweb". Please, install them. warning is encountered when opening r files on windows. Issue appears to stem from posix paths that look for the parsers. PR solving the issue should be up momentarily.

PMassicotte commented 1 month ago

Does using // on Windows could solve the problem? In that case, we could only use // for both Linux and Windows? Just asking, have not used Windows for ages. :)

akthe-at commented 1 month ago

@PMassicotte unfortunately Windows only likes backslashes... :(

PMassicotte commented 1 month ago

Then it sounds good to me! Thank you for this, will let @jalvesaq have a look to merge it.

jalvesaq commented 1 month ago

It works on Linux! I'll merge it.