tomv564 / pyls-mypy

Mypy plugin for the Python Language Server
MIT License
110 stars 62 forks source link

Highlight the word at the point Mypy flags it #11

Closed necaris closed 6 years ago

necaris commented 6 years ago

This provides slightly better context than just the single character at that point.

tomv564 commented 6 years ago

Good initiative! Could you add a test for it handling some possible responses from document.word_at_position?

necaris commented 6 years ago

@tomv564 does https://github.com/tomv564/pyls-mypy/pull/11/commits/8e50bc80a69e66c5d4ba42958cc90abb607bbecd cover the cases you had in mind?

tomv564 commented 6 years ago

Nice work, learned a thing about parametrising tests! I'll merge now, and do a version bump + release soon.