Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#24] Support Multiline comments #63

Merged
merged 2 commits into from
May 2, 2023

Conversation

vrom911
Copy link
Contributor

@vrom911 vrom911 commented May 1, 2023

Now the whole multiline comment is highlighted for me:

Screenshot 2023-05-01 at 11 34 53

@vrom911 vrom911 self-assigned this May 1, 2023
@vrom911 vrom911 added the bug Something isn't working label May 1, 2023
@vrom911 vrom911 requested a review from jonaprieto May 1, 2023 10:32
@vrom911 vrom911 added this to the 0.2 milestone May 1, 2023
@@ -107,7 +109,7 @@ export class Highlighter implements vscode.DocumentSemanticTokensProvider {
'--format',
'json',
filePath,
'--stdin',
// '--stdin',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because for some reason this prevents highlight command from working.
I am investigating this, but commenting this out allows everything work properly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed this in anoma/juvix#2043
So this will work with that changes in place 🙂

@vrom911 vrom911 changed the title [#24] Multiline comments are not colored [#24] Support Multiline comments May 1, 2023
vrom911 added 2 commits May 2, 2023 12:32
As it is now fixed in the juvix branch, this is the proof that
it works as before with the stdin option
@jonaprieto jonaprieto force-pushed the vrom911/24-Multiline-comments-are-not-colored branch from 416bdb2 to 409cc7b Compare May 2, 2023 10:32
@jonaprieto jonaprieto merged commit 50336e3 into main May 2, 2023
@jonaprieto jonaprieto deleted the vrom911/24-Multiline-comments-are-not-colored branch May 2, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiline comments are not colored
2 participants