Skip to content

Support LaTeX comments#3

Merged
jakewarren merged 1 commit into
jakewarren:masterfrom
xarantolus:master
Oct 30, 2019
Merged

Support LaTeX comments#3
jakewarren merged 1 commit into
jakewarren:masterfrom
xarantolus:master

Conversation

@xarantolus
Copy link
Copy Markdown
Contributor

Hey, thanks for this cool and simple tool.

I noticed that it didn't support comment lines that start with a percentage sign, such as the ones in LaTeX.

So I edited the regex to also include it, and in my tests it seems to work correctly.

It now also marks lines that look like this, and all other starting keywords:

% TODO: this needs to be changed

If you have any ideas on how this could interfere with other file types please let me know.

@jakewarren jakewarren merged commit 3bb7f66 into jakewarren:master Oct 30, 2019
@jakewarren
Copy link
Copy Markdown
Owner

@xarantolus thanks for the contribution! I didn't notice any issues in my tests and I don't anticipate any so we'll cross that bridge if we run into issues with other file types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants