Skip to content

ragone/magit-diff-flycheck

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

example.gif

Run M-x magit-diff-flycheck in a magit-diff buffer to display a filtered list of Flycheck errors for the added/modified lines only.

Use can also run the command with a prefix which will prompt you for the scope of the errors, eg. C-u M-x magit-diff-flycheck.

This is primarily meant to be used on legacy projects where you do not want to see errors for the whole file but only for the added/modified lines.

Install

Available on MELPA.

Main dependencies

  • magit
  • flycheck

Extra Dependencies

  • seq

Configuration

VariableNotesDefault
magit-diff-flycheck-inhibit-messageIf non-nil, disable message output while running.t
magit-diff-flycheck-default-scopeThe default scope for filtering errors.lines
magit-diff-flycheck-contextLines of context for diff when filtering errors.0

Usage

Open up a magit-diff buffer and run M-x magit-diff-flycheck.

Releases

No releases published

Packages

No packages published