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

fix: Some bracket rules are fallbacked to the generic one #9

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

mityu
Copy link
Owner

@mityu mityu commented Oct 17, 2024

Previously, some language-specific bracket rules are fallbacked into the generic one when they are canceled due to the match between their cancelers and next line text:

class A {|
private:
};

↓ Type <CR> at the position of |

class A {
}
private:
};

This PR prohibits the fallback and fixes it.

@mityu mityu merged commit 1b8d497 into main Oct 17, 2024
6 checks passed
@mityu mityu deleted the fix-builtin branch October 17, 2024 16:07
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.

1 participant