Skip to content

Commit

Permalink
[asterisk mode] Add comment syntax metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Aug 6, 2019
1 parent 80ccce0 commit 8e200e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mode/asterisk/asterisk.js
Expand Up @@ -207,7 +207,11 @@ CodeMirror.defineMode("asterisk", function() {
}

return null;
}
},

blockCommentStart: jsonMode ? null : ";--",
blockCommentEnd: jsonMode ? null : "--;",
lineComment: jsonMode ? null : ";"
};
});

Expand Down

0 comments on commit 8e200e7

Please sign in to comment.