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

Add syntax folding to 'raw string' region #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AriSweedler
Copy link

I have testcases that need JSON as input. Instead of making a file for each one, I inline the JSON as a raw string. It takes up too much screen real estate.
I do this on my machine, I think other people might appreciate it, too.

@AriSweedler
Copy link
Author

I would like to bump this

@AriSweedler
Copy link
Author

Hello?

@mattn
Copy link
Member

mattn commented May 23, 2022

Sorry delay. Could you please provide error case?

@AriSweedler
Copy link
Author

It is not an error case. The syntax region around the raw string literal has been written successfully. This PR is a feature request. I have this on my machine, and I think that it is a much saner default than currently exists.

I want a raw string region like this to add a layer of folding

auto my_string = R"delim(
Hello
World
)delim";

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.

2 participants