Skip to content

unexpected behavior with vim built-in completion used #69

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

Closed
vitmy0000 opened this issue Feb 24, 2017 · 1 comment
Closed

unexpected behavior with vim built-in completion used #69

vitmy0000 opened this issue Feb 24, 2017 · 1 comment

Comments

@vitmy0000
Copy link

I have the following code which should follow the PEP8 guideline.

word = 'hello'
foo = long_function_name_oooooooooooooooooooooooooooooooooooooooooooooooooooo(
    var_one, var_two)

A very common scenario is that I want to append one more argument to the argument list.
And I'm trying to use vim built-in completion feature.
Here I'm using the command C-n to complete the variable name.

screen shot 2017-02-24 at 1 33 38 pm

After I hit <CR>, the code goes to this. This is definitely not what I expect.

screen shot 2017-02-24 at 1 33 49 pm

@vitmy0000
Copy link
Author

I just found that this is caused by the conflict with "auto-pairs"

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

No branches or pull requests

1 participant