We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42b391 commit 16f97d9Copy full SHA for 16f97d9
src/jupyter_matlab_labextension/src/lezer-matlab/src/parse_comments.js
@@ -108,7 +108,7 @@ export const parseComments = new ExternalTokenizer((input) => {
108
// If the line starts with anything other than a percentage then it is MATLAB Code.
109
// If the input.input.string exists then check it's length otherwise ignore the keys by returning true.
110
if (
111
- input.peek(0) !== fileStart && input.peek(0) !== newline &&
+ !lineEndArray.includes(input.peek(0)) &&
112
(
113
!('input' in input) ||
114
!('string' in input.input) ||
0 commit comments