tell-k / vim-autopep8

autopep8 plugin for Vim
http://www.vim.org/scripts/script.php?script_id=4614
MIT License
277 stars 51 forks source link

auto go to first line after :Autopep8 format file #30

Closed shidenggui closed 6 years ago

shidenggui commented 7 years ago

A few days ago I update vim-autopep8 to v1.1, and I find after :Autopep8 <CR> cursor auto go to first line. But in previous version it not change position. How can i disable this feature?

tell-k commented 7 years ago

@shidenggui Sorry. there is no setting to disable it. However, I'll fix it. Please wait for the next version.

yanpozka commented 7 years ago

I'm having the same issue, is there any progress with this issue ? Thanks for this plugins is awesome !!

hmngwy commented 7 years ago

Is there a fix yet? Maybe you can point where to fix this and we can send a PR?

tell-k commented 7 years ago

@hmngwy

we can send a PR?

Yes, I want your help! Let's send PR to me.

hmngwy commented 7 years ago

I've switched to neoformat, I couldn't figure out why getpos was not returning the correct cursor position.

On Wed, Sep 6, 2017 at 10:40 PM, tell-k notifications@github.com wrote:

@hmngwy https://github.com/hmngwy

we can send a PR? Yes, I want your help! Let's send PR to me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tell-k/vim-autopep8/issues/30#issuecomment-327505009, or mute the thread https://github.com/notifications/unsubscribe-auth/ABki8-6UB1aKOAe3E64Aj71u5IyLIPAfks5sfq7KgaJpZM4MTaBj .

tell-k commented 6 years ago

@shidenggui @yanpozka

Sorry for the late fix. I've fixed it, Please try new version.