Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Add syntax folding to 'raw string' region#61

Open
AriSweedler wants to merge 1 commit into
vim-jp:masterfrom
AriSweedler:master
Open

Add syntax folding to 'raw string' region#61
AriSweedler wants to merge 1 commit into
vim-jp:masterfrom
AriSweedler:master

Conversation

@AriSweedler

Copy link
Copy Markdown

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
Copy Markdown
Author

I would like to bump this

@AriSweedler

Copy link
Copy Markdown
Author

Hello?

@mattn

mattn commented May 23, 2022

Copy link
Copy Markdown
Member

Sorry delay. Could you please provide error case?

@AriSweedler

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants