Skip to content

Commit

Permalink
Don't treat closing brackets specially in common lisp mode
Browse files Browse the repository at this point in the history
FIX: Stop treating closing brackets as brackets in the Common Lisp mode.
  • Loading branch information
qjqqyy committed Apr 9, 2024
1 parent 3932f7b commit 3ebc5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mode/commonlisp.js
Expand Up @@ -21,7 +21,7 @@ function base(stream, state) {

if (ch == '"') return (state.tokenize = inString)(stream, state);
else if (ch == "(") { type = "open"; return "bracket"; }
else if (ch == ")" || ch == "]") { type = "close"; return "bracket"; }
else if (ch == ")") { type = "close"; return "bracket"; }
else if (ch == ";") { stream.skipToEnd(); type = "ws"; return "comment"; }
else if (/['`,@]/.test(ch)) return null;
else if (ch == "|") {
Expand Down

0 comments on commit 3ebc5f3

Please sign in to comment.