Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[commonlisp mode] Fix bug in context management

  • Loading branch information...
commit da3a289048b06a95dbf846ad0204f39a21a083be 1 parent 54095aa
@marijnh marijnh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mode/commonlisp/commonlisp.js
View
2  mode/commonlisp/commonlisp.js
@@ -87,7 +87,7 @@ CodeMirror.defineMode("commonlisp", function (config) {
}
}
if (type == "open") state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};
- else if (type == "close") state.ctx = state.ctx.prev;
+ else if (type == "close") state.ctx = state.ctx.prev || state.ctx;
return style;
},
Please sign in to comment.
Something went wrong with that request. Please try again.