I just started using this plugin in neovim and noticed that errors weren't underlined properly.
After a quick look at the source code it seems as this is a simple and easy fix:
instead of the --show-column-numbers option use --show-error-end option
modify the line_pattern regex
modify the parse_line function with correct diagnostic end location
remove the comment on line 100 :)
link to mypy doc explaining the --show-error-end option
If you give me the green light I am willing to make a PR by myself.
I just started using this plugin in neovim and noticed that errors weren't underlined properly. After a quick look at the source code it seems as this is a simple and easy fix:
--show-column-numbers
option use--show-error-end
optionline_pattern
regexparse_line
function with correct diagnostic end locationlink to mypy doc explaining the
--show-error-end
optionIf you give me the green light I am willing to make a PR by myself.