Skip to content

minor fixes to ensure comments and keywords are properly colored in all contexts - #18

Open
LexouDuck wants to merge 2 commits into
JohnNilsson:masterfrom
LexouDuck:master
Open

minor fixes to ensure comments and keywords are properly colored in all contexts#18
LexouDuck wants to merge 2 commits into
JohnNilsson:masterfrom
LexouDuck:master

Conversation

@LexouDuck

Copy link
Copy Markdown

Hello, I would like to contribute a reasonably small fix to this syntax definition, concerning comments, keywords, and semicolons.

To be precise, when using a ; semicolon at the end of a line, any following comments (and sometimes keywords) will not be colored properly. Additionally, the (?<!\S)(#) non-space character negative-lookbehind for comments is unnecessary, and in fact prevents comments from being scoped/colored properly in some situations.

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.

1 participant