textmate / r.tmbundle

TextMate support for R
25 stars 9 forks source link

Colourising glitch with c() in function args #13

Closed hongooi73 closed 5 years ago

hongooi73 commented 5 years ago

(Originally posted at MikhailArkhipov/vscode-r/#25)

Specifically, when you have c("a", "b", ...) as a default function argument, the strings except for the first one are not coloured as text:

image

It only appears to happen when the c function is used; you can see that list doesn't have this problem.

hongooi73 commented 5 years ago

This is using Visual Studio Code, but I'm told that it uses TextMate grammars.

Bibiko commented 5 years ago

Hi. Using TextMate version 2.0-rc.22 no problem

Cheers, Hans

tbates commented 5 years ago

No problem here either (2.0-rc.27) - can be closed, IMHO.

function(a=c("a", "b", "c")){}
hongooi73 commented 5 years ago

Thanks, this appears to be specific to VSCode. Reposted there.