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

Only reformat selection #29

Closed spaceone closed 7 years ago

spaceone commented 7 years ago

Hello, is it possible to only apply autopep8 to a selection of specific lines? I tried this but seems not working. This would be a really nice feature! For example I have a lot of template files which are partly python and partly bash or plaintext so I can't apply autopep8 to the whole file.

tobixx commented 7 years ago

There is already an open PR for it : #28

spaceone commented 7 years ago

Ah, very nice! Thanks!