First off, thanks for the awesome plugin!
I just wanted to flag a small issue I came across. It seems that anonymous functions ((x)), which were introduced in R 4.1.0, aren't being highlighted correctly.
Steps to Reproduce:
Open an R script in Vim with Nvim-R.
Add some anonymous functions, like \(x) x + 1.
Notice that the highlighting doesn’t work for \(x).
Environment:
Vim Version: 9.1
Nvim-R Version: Latest (commit b7cdc9bcd6879465023e20b4a3ae16968edda776)
R Version: 4.1.0+
Expected Behavior:
It’d be great if (x) was highlighted like other function definitions for better readability.
First off, thanks for the awesome plugin! I just wanted to flag a small issue I came across. It seems that anonymous functions ((x)), which were introduced in R 4.1.0, aren't being highlighted correctly.
Steps to Reproduce:
Open an R script in Vim with Nvim-R. Add some anonymous functions, like \(x) x + 1. Notice that the highlighting doesn’t work for \(x).
Environment:
Vim Version: 9.1 Nvim-R Version: Latest (commit b7cdc9bcd6879465023e20b4a3ae16968edda776) R Version: 4.1.0+
Expected Behavior:
It’d be great if (x) was highlighted like other function definitions for better readability.