vim-nlbl (No linter, bad linter!) is a hackish VIM plugin to selectively disable linter warnings.
vim-nlbl requires VIM with Python 3 support (+python3)
and the Syntastic plugin.
Use any plugin manager to install this plugin, e.g: vim-plug:
Plug 'nblock/vim-nlbl'- Edit a file until one of your linters complains
- Navigate to the flagged line
- Issue:
:NoLinterBadLinter
Assume the following Python code with Flake8 installed: Use any plugin manager to install this plugin, e.g: vim-plug:
foo='bar'Flake8 (via
Syntastic will tell you the
following: "missing whitespace around operator [E225]". You might be happy with
this line, so issue :NoLinterBadLinter and the line will be transformed to:
foo='bar' # noqa: E225This plugin is just a hack and it currently only supports: