Skip to content
Snippets Groups Projects
Commit 9ad6218e authored by Narciso Jaramillo's avatar Narciso Jaramillo Committed by Marijn Haverbeke
Browse files

[closetag addon] Allow typing '/' if there's no matching open tag

parent 6dad920c
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@
var tagName = state.context && state.context.tagName;
if (tagName) cm.replaceSelection("/" + tagName + ">", "end");
else return CodeMirror.Pass;
}
function indexOf(collection, elt) {
......
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