Skip to content
Snippets Groups Projects
Commit 407c5227 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[commonlisp mode] Fix wrong bracket

Closes #4545
parent f2c63b67
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ CodeMirror.defineMode("commonlisp", function (config) {
else { stream.skipToEnd(); return "error"; }
} else if (ch == "#") {
var ch = stream.next();
if (ch == "[") { type = "open"; return "bracket"; }
if (ch == "(") { type = "open"; return "bracket"; }
else if (/[+\-=\.']/.test(ch)) return null;
else if (/\d/.test(ch) && stream.match(/^\d*#/)) return null;
else if (ch == "|") return (state.tokenize = inComment)(stream, state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment