Last month I switched over from using #NvimR to #RNvim (the lua-based successor), which uses #TreeSitter for syntax highlighting. It was hard enough to do the transition and the realize that debugging support was turned off, but one of the biggest disappointments is the lack of #roxygen highlighting (https://github.com/r-lib/tree-sitter-r/issues/68), which is actually default in #Nvim  I was thinking to switch over to #VScode or #positron, but having to learn new shortcuts for everything make me sad.
Highlight ROxygen tags · Issue #68 · r-lib/tree-sitter-r

Are ROxygen tag highlighting something that can be added? With treesitter disabled they get highlighted from the main neovim runtime: https://github.com/neovim/neovim/blob/c651a0f643e7bd34eb740069a...

GitHub
@geospacedman @lukemorrisverse @coolbutuseless @Posit Also, for people who are already programmers, #Neovim has a plugin, #NvimR, that divides the editor into sections (console, script, current variables) similar to RStudio.
@barneyharris This doesn't answer your question, but I can attest it is useful. I use nvim-R, and have keyboard shortcuts that evaluate head(), str() etc of objects under the cursor. #nvim #NvimR

I just used this with the `-T` option to reconnect an R session launched out of #NvimR , and my eyes literally rolled back in surpised delight 😆

Still gotta figure out how to reconnect the tmux/server wiring so it can talk to NvimR again..... probably just gotta connect the right tmp fils or something

@ERDonnachie
I use #NvimR https://github.com/jalvesaq/Nvim-R/

It uses tmux/TCP/tmpfiles to send code snippets between vim and an independent R session, I think

It's a bit fiddly sometimes with error debugging and remote/tmux/ssh sessions, but usually it just works find if you refresh your ssh/tmux and all the wires find themselves again

So nice

GitHub - jalvesaq/Nvim-R: Vim plugin to work with R

Vim plugin to work with R. Contribute to jalvesaq/Nvim-R development by creating an account on GitHub.

GitHub