functions starting with `.` not recognized in syntax highlighting
Closed this issue · 3 comments
rsaporta commented
functions starting with .
not recognized in syntax highlighting
Example:
.test_func <- function(foo, bar="world") {
print(foo)
}
.test_func(foo="hello", bar="there")
randy3k commented
I have no issue. Are you using the R Extended syntax?
rsaporta commented
Yes, using R Extended.
Checkout the screenshot
.test_func <- function(foo, bar="world") {
print(foo)
}
## NOTE no highlighting on function name or args
.test_func(foo="hello", bar="there")
test_func2 <- function(foo, bar="world") {
print(foo)
}
## NOTE yes highlighting on function name and args
test_func2(foo="hello", bar="there")