Skip to content

nblock/vim-nlbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

vim-nlbl

vim-nlbl (No linter, bad linter!) is a hackish VIM plugin to selectively disable linter warnings.

Requirements

vim-nlbl requires VIM with Python 3 support (+python3) and the Syntastic plugin.

Installation

Use any plugin manager to install this plugin, e.g: vim-plug:

Plug 'nblock/vim-nlbl'

Usage

  • Edit a file until one of your linters complains
  • Navigate to the flagged line
  • Issue: :NoLinterBadLinter

Example

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: E225

Supported linters

This plugin is just a hack and it currently only supports:

About

vim-nlbl (No linter, bad linter!) is a hackish VIM plugin to selectively disable linter warnings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors