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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable next line coloring #2

Closed
AngelMunoz opened this issue Aug 21, 2021 · 4 comments
Closed

Enable next line coloring #2

AngelMunoz opened this issue Aug 21, 2021 · 4 comments

Comments

@AngelMunoz
Copy link

Sorry to bother you Alfonso 馃槄 (seems I'm good at that)
I'm exploring right now the Elmish.Lit goodies (Yay for Html in F#) but sems that fantomas will move to the next line this kinds of strings, not sure if that can be fixed here or should be reported to fantomas itself
image

otherwise, if you put it on the same line, it works wonders

@alfonsogarciacaro
Copy link
Owner

Hmm, looks like regex patterns in textmate grammars cannot span across lines. We need to modify the grammar so it also includes a nested pattern when $""" appears in the next line.

alfonsogarciacaro added a commit that referenced this issue Aug 21, 2021
@alfonsogarciacaro
Copy link
Owner

I think I fixed it :) Can you please check with v0.0.2 when it becomes available in the marketplace?

@AngelMunoz
Copy link
Author

Yep! all working good, thanks!
image

@texastoland
Copy link

I fixed this better with a test script for edge cases! PR incoming 馃殌

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 a pull request may close this issue.

3 participants