tweekmonster / impsort.vim

Sort and highlight Python imports in Vim
MIT License
37 stars 6 forks source link

Attributes are highlighted as imported if it matches import names #7

Closed tweekmonster closed 8 years ago

tweekmonster commented 8 years ago

Example:

@petobens

petobens commented 8 years ago

With your recent commit the issue es partially fixed: jun-30-2016 15-25-01

For some reason when using from time import time, the time module (i.e the first time) is highlighted as a function. Also I don't know why start is highlighted as a module. Thanks!!!

tweekmonster commented 8 years ago

It should be fixed now. I also made it so that from time import time won't highlight the imported name in the first part of the line.

petobens commented 8 years ago

Thank you!