Skip to content

Doc comments not highlighted #51

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

Open
nwolverson opened this issue Apr 30, 2020 · 2 comments
Open

Doc comments not highlighted #51

nwolverson opened this issue Apr 30, 2020 · 2 comments

Comments

@nwolverson
Copy link
Contributor

(OK so I only tested this in vscode, which is generated from this, and it seems to be different on GH)

With a space, doc comments get highlighted

-- | blah

but without, they don't highlight as comment - and I think this is valid -

--| blah

This may be related to the fact that other symbols prevent highlighting as comment, but not letters:

--% this is not comment
--This is comment
@wclr
Copy link
Contributor

wclr commented Sep 5, 2021

--This is comment or --% this is not comment (comments without space after --) are a valid comment for the language parser, do you think they should be highlighted as comments?

@nwolverson
Copy link
Contributor Author

It should ideally be whatever purs does

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

No branches or pull requests

2 participants