Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions syntax/r.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"information_for_contributors": [
"This file has been converted from https://github.com/randy3k/R-Box/blob/master/syntax/R%20Extended.sublime-syntax",
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"fileTypes": [
"R",
"r",
Expand Down Expand Up @@ -340,8 +335,8 @@
"function-declarations": {
"patterns": [
{
"begin": "^\\s*([a-zA-Z._][\\w.:]*)\\s*(<<?-|=)\\s*(?=function\\s*\\()",
"beginCaptures": {
"match": "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[[:alpha:].][[:alnum:]._]*))\\s*(<?<-|=(?!=))\\s*(function)",
"captures": {
"1": {
"name": "entity.name.function.r"
},
Expand All @@ -352,7 +347,6 @@
"name": "keyword.control.r"
}
},
"end": "(?<=\\))",
"name": "meta.function.r",
"patterns": [
{
Expand Down