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

Syntax highlighting with successorML one-line/inline comments #21

Open
m-bob opened this issue Sep 9, 2024 · 0 comments
Open

Syntax highlighting with successorML one-line/inline comments #21

m-bob opened this issue Sep 9, 2024 · 0 comments

Comments

@m-bob
Copy link

m-bob commented Sep 9, 2024

Thanks for this extension! It works well and I like and use it. But I'd like to suggest/request an enhancement to the existing syntax highlighting.

One-line (and inline) comments using (*) to designate a comment, such as

(*) run sml -Cparser.succ-ml=true

let val x = 1 and y = 2 in x + y end; (*) 2: val it = 3 : int

are a nice extension to SML, permitting better documentation.

Unfortunately, they're not compatible with the current syntax highlighter. (The highlighter looks for an ending '*)' which it doesn't find.)

May I request an enhancement to permit the use of this comment style? Perhaps also italicize comments :) ?

Thanks!

Murray

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

No branches or pull requests

1 participant