Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #826#868

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
diraol merged 1 commit intopython-mode:developfromjennaliu:develop
Mar 27, 2018
Merged

Fix #826#868

diraol merged 1 commit intopython-mode:developfromjennaliu:develop
Mar 27, 2018

Conversation

@jennaliu
Copy link

previous_definition could reach the first line during the loop. Simply checking it before entering the loop is not enough.

@diraol
Copy link
Contributor

Hi@jennaliu thanks for your contribution!

Can you provide any kind of example in which the previous version fails but it works with the newer code?
Even better if you can add it to our test suite! =)

@jennaliu
Copy link
Author

When opening a file with class or function definitions at the beginning of the file, Vim freezes. To test it, create a file with the following content (no empty lines at the beginning of the file), and open it with Vim. Sorry, I am not very familiar with the test suite right now. I submitted this pull request because it fixed my issue and I thought it could also help others.

classClass1:def__init__(self):super().__init__()classClass2:def__init__(self):super().__init__()

@diraol
Copy link
Contributor

Don't worry@jennaliu !!
Thanks for your contribution!

@diraoldiraol merged commit126b09b intopython-mode:developMar 27, 2018
@fmv1992
Copy link
Contributor

Thank you and thanks@diraol for your steady collaboration!

diraol reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@jennaliu@diraol@fmv1992

[8]ページ先頭

©2009-2025 Movatter.jp