Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I clear Vim's interface of the PyLint marks?

I've configured python-mode to check manually. So I type :PyLint and it checks my code, showing the "QuickFix" window and some marks at the side. I can subsequently close the QuickFix window by typing :onlyin the other window or so, but how can I clear the side marks?

like image 964
Antonis Christofides Avatar asked Mar 23 '23 22:03

Antonis Christofides


1 Answers

The plugin uses signs to show the lint errors. If you never want to see them

let g:pymode_lint_signs = 0

disables them.

If you want to clear them, AFAICT there's no interface in the plugin for just that. (You could file an enhancement request.) But what should work is clearing all signs of the current buffer:

:sign unplace * buffer=<C-r>=bufnr('')<CR>

or

:execute 'sign unplace * buffer=' . bufnr('')
like image 116
Ingo Karkat Avatar answered Mar 25 '23 10:03

Ingo Karkat