File tree Expand file tree Collapse file tree 1 file changed +17
-23
lines changed
Expand file tree Collapse file tree 1 file changed +17
-23
lines changed Original file line number Diff line number Diff line change 143143 },
144144 "match" : " ([[:alpha:].][[:alnum:]._]*)\\ s*(=)(?=[^=])"
145145 },
146+ {
147+ "captures" : {
148+ "1" : {
149+ "name" : " variable.parameter.r"
150+ },
151+ "2" : {
152+ "name" : " keyword.operator.assignment.r"
153+ }
154+ },
155+ "match" : " (`[^`]+`)\\ s*(=)(?=[^=])"
156+ },
146157 {
147158 "match" : " \\ b([\\ d_][[:alnum:]._]+)\\ b" ,
148159 "name" : " invalid.illegal.variable.other.r"
154165 {
155166 "match" : " \\ b([[:alnum:]._]+)\\ b" ,
156167 "name" : " variable.other.r"
168+ },
169+ {
170+ "match" : " (`[^`]+`)" ,
171+ "name" : " variable.other.r"
157172 }
158173 ]
159174 },
338353 "name" : " constant.character.escape.r"
339354 }
340355 ]
341- },
342- {
343- "begin" : " `" ,
344- "beginCaptures" : {
345- "0" : {
346- "name" : " punctuation.definition.string.begin.r"
347- }
348- },
349- "end" : " `" ,
350- "endCaptures" : {
351- "0" : {
352- "name" : " punctuation.definition.string.end.r"
353- }
354- },
355- "name" : " variable.parameter.r" ,
356- "patterns" : [
357- {
358- "match" : " \\\\ ." ,
359- "name" : " variable.parameter.r"
360- }
361- ]
362356 }
363357 ]
364358 },
493487 },
494488 {
495489 "match" : " (?:[a-zA-Z._][\\ w.]*|`[^`]+`)" ,
496- "name" : " variable.parameter .r"
490+ "name" : " variable.other .r"
497491 },
498492 {
499493 "begin" : " (?==)" ,
544538 },
545539 {
546540 "match" : " (?:[a-zA-Z._][\\ w.]*|`[^`]+`)(?=\\ s[^=])" ,
547- "name" : " variable.parameter .r"
541+ "name" : " variable.other .r"
548542 },
549543 {
550544 "begin" : " (?==)" ,
You can’t perform that action at this time.
0 commit comments