mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
codemirror 5.65.9
This commit is contained in:
4
libraries/codemirror/mode/elm/elm.js
vendored
4
libraries/codemirror/mode/elm/elm.js
vendored
@@ -1,5 +1,5 @@
|
||||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
// Distributed under an MIT license: http://codemirror.net/5/LICENSE
|
||||
|
||||
(function(mod) {
|
||||
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
||||
@@ -230,6 +230,8 @@
|
||||
startState: function () { return { f: normal() }; },
|
||||
copyState: function (s) { return { f: s.f }; },
|
||||
|
||||
lineComment: '--',
|
||||
|
||||
token: function(stream, state) {
|
||||
var type = state.f(stream, function(s) { state.f = s; });
|
||||
var word = stream.current();
|
||||
|
||||
Reference in New Issue
Block a user