neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
573 stars 51 forks source link

Modified the wrong code, but the underline still exists. #315

Closed deeperlearner closed 3 years ago

deeperlearner commented 3 years ago

The underline can not be removed and the file has more and more underlines. The underlines stick to the fixed place of lines (The underlines not move with the error parts) My vim info:

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 13 2020 15:49:09)
patches: 1-1453

My language server is coc-python, which is installed by :CocInstall coc-python My coc-settings.json

{
  "diagnostic.checkCurrentLine": true,
  "python.linting.pylintArgs": [
    "--errors-only",
    "--generated-members=numpy.* ,torch.* ,cv2.* , cv.*"
  ]
}
deeperlearner commented 3 years ago

Problem solved by updating VIM

VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31)
Included patches: 1-2269
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 26 2020 11:24:22)
Included patches: 1-2054