Skip to content

Fix gq to not split strings halfway through #201

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

Merged
merged 1 commit into from
Jul 10, 2014

Conversation

JelteF
Copy link
Contributor

@JelteF JelteF commented Jul 9, 2014

This pull request is based on this pullrequest Vimjas/vim-python-pep8-indent#29

What it does it that it fixes gq to not split strings with spaces halfway through, which causes invalid code. I took out some stuff for docstrings, since that isn't needed for javascript.

@qstrahl
Copy link
Collaborator

qstrahl commented Jul 9, 2014

Made against develop; I vote we merge it in and give it a shot?

amadeus added a commit that referenced this pull request Jul 10, 2014
Fix gq to not split strings halfway through
@amadeus amadeus merged commit 29caa7f into pangloss:develop Jul 10, 2014
@amadeus
Copy link
Collaborator

amadeus commented Jul 10, 2014

Looks good to me, in it goes.

@raine
Copy link

raine commented Aug 14, 2014

For me this broke using gq to format comments.

@JelteF
Copy link
Contributor Author

JelteF commented Aug 14, 2014

Normal comments or block comments? I'll try to look into it in a little while.

@qstrahl
Copy link
Collaborator

qstrahl commented Aug 14, 2014

Normal comments for me; see #207.

@JelteF
Copy link
Contributor Author

JelteF commented Aug 14, 2014

As I said in #207 I might have fixed the problem in #205

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.

4 participants