mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
codemirror 5.65.9
This commit is contained in:
4
libraries/codemirror/mode/ruby/ruby.js
vendored
4
libraries/codemirror/mode/ruby/ruby.js
vendored
@@ -1,5 +1,5 @@
|
||||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
||||
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
||||
|
||||
(function(mod) {
|
||||
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
||||
@@ -26,7 +26,7 @@ var keywordList = [
|
||||
"require_relative", "extend", "autoload", "__END__", "__FILE__", "__LINE__", "__dir__"
|
||||
], keywords = wordObj(keywordList);
|
||||
|
||||
var indentWords = wordObj(["def", "class", "case", "for", "while", "until", "module", "then",
|
||||
var indentWords = wordObj(["def", "class", "case", "for", "while", "until", "module",
|
||||
"catch", "loop", "proc", "begin"]);
|
||||
var dedentWords = wordObj(["end", "until"]);
|
||||
var opening = {"[": "]", "{": "}", "(": ")"};
|
||||
|
||||
Reference in New Issue
Block a user