Skip to content

Commit 877b2b1

Browse files
flying-sheepmarijnh
authored andcommitted
[r mode] Add “.” to wordChars
1 parent 24d6057 commit 877b2b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mode/r/r.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
})(function(CodeMirror) {
1212
"use strict";
1313

14+
CodeMirror.registerHelper("wordChars", "r", /[\w.]/);
15+
1416
CodeMirror.defineMode("r", function(config) {
1517
function wordObj(str) {
1618
var words = str.split(" "), res = {};

0 commit comments

Comments
 (0)