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

Match zero-width in goTypeConstructor #1338

Merged
merged 1 commit into from
Jul 6, 2017
Merged

Match zero-width in goTypeConstructor #1338

merged 1 commit into from
Jul 6, 2017

Conversation

arp242
Copy link
Contributor

@arp242 arp242 commented Jun 30, 2017

The { here interferes with the folding in:

syn region      goBlock             start="{" end="}" transparent fold

I'm not sure if this is the best way to fix it; but it seems to work well as far
as I can see. I also tried mucking about with contained and such, but wasn't
able to get that to work.

Fixes #1282

The `{` here interferes with the folding in:

	syn region      goBlock             start="{" end="}" transparent fold

I'm not sure if this is the best way to fix it; but it seems to work well as far
as I can see. I also tried mucking about with `contained` and such, but wasn't
able to get that to work.

Fixes #1282
@fatih fatih merged commit 657d093 into fatih:master Jul 6, 2017
@arp242 arp242 deleted the fix-1282 branch July 6, 2017 21:34
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.

Code folding is broken with go_highlight_types
2 participants