fisadev / vim-isort

Vim plugin to sort python imports using https://github.com/timothycrosley/isort
MIT License
219 stars 32 forks source link

vim-isort: skip "from __future__" lines for isort #35

Closed wwade closed 1 year ago

wwade commented 4 years ago

isort already keesp this at the top, as required, but in my case I'm also using force_grid_wrap=2 so it's nice if we can just preserve the from __future__ line as-is.

Probably not worth moving to upstream.

wwade commented 4 years ago

Hey @fisadev, I totally understand if you don't want to merge this PR, so please feel free to close it if that's the case.

ziima commented 4 years ago

I'd definitely move this issue to upstream.

fisadev commented 1 year ago

Hi! It seems I forgot to answer to this MR, sorry a lot for the delay!

Though I agree with Ziima, this should be part of isort itself.

wwade commented 1 year ago

No worries, and agreed :smile: