We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9f8a6 commit 8abe468Copy full SHA for 8abe468
mode/r/r.js
@@ -54,7 +54,7 @@ CodeMirror.defineMode("r", function(config) {
54
} else if (ch == "`") {
55
stream.match(/[^`]+`/);
56
return "variable-3";
57
- } else if (ch == "." && stream.match(/.[.\d]+/)) {
+ } else if (ch == "." && stream.match(/.(?:[.]|\d+)/)) {
58
return "keyword";
59
} else if (/[a-zA-Z\.]/.test(ch)) {
60
stream.eatWhile(/[\w\.]/);
0 commit comments