diff options
Diffstat (limited to 'public/vendor/codemirror/mode/r')
-rw-r--r-- | public/vendor/codemirror/mode/r/r.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/vendor/codemirror/mode/r/r.js b/public/vendor/codemirror/mode/r/r.js index 1ab4a956..d41d1c54 100644 --- a/public/vendor/codemirror/mode/r/r.js +++ b/public/vendor/codemirror/mode/r/r.js @@ -11,6 +11,8 @@ })(function(CodeMirror) { "use strict"; +CodeMirror.registerHelper("wordChars", "r", /[\w.]/); + CodeMirror.defineMode("r", function(config) { function wordObj(str) { var words = str.split(" "), res = {}; |