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

[tiddlywiki mode] Fix weird return statements

Closes #3914
parent ab455f22
No related branches found
No related tags found
No related merge requests found
......@@ -324,12 +324,7 @@ CodeMirror.defineMode("tiddlywiki", function () {
word = stream.current();
known = keywords.propertyIsEnumerable(word) && keywords[word];
if (known) {
return known.style, word;
}
else {
return null, word;
}
return word;
}
// Interface
......
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