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 :only
in the other window or so, but how can I clear the side marks?
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('')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With