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

Close empty pairs smartly #172

Merged
merged 2 commits into from
Jan 15, 2019
Merged

Close empty pairs smartly #172

merged 2 commits into from
Jan 15, 2019

Conversation

shirohana
Copy link
Contributor

@shirohana shirohana commented Feb 21, 2017

I often leave one space in a empty braces in several language.

In old case when I typing: ( _ as <SPACE>)

input: {_}|

And the result:

output: {__}|

I need to delete the extra space by hand, so I made some change.
Now it works like:

// Useful with GitHub markdown
input: [_]|
output: [_]|

input: [__]|
output: [__]|

input: {_foo: bar}|
output: {_foo: bar_}|

@shirohana
Copy link
Contributor Author

Excuse me (´・ω・`)?

@shirohana
Copy link
Contributor Author

shirohana commented Aug 22, 2017

I rebased my commit to jiangmiao:master, would you merge my pull request?

@jiangmiao jiangmiao merged commit 2de4b15 into jiangmiao:master Jan 15, 2019
@jiangmiao
Copy link
Owner

Thank you for your contribution!

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