JadeIden/attrap

ATtempt To Repair At Point (emacs flycheck extension)

★ 0Forks 0GitHub ↗Compare

README

Attrap: Emacs mode to fix the flycheck error at point

https://melpa.org/packages/attrap-badge.svg https://stable.melpa.org/packages/attrap-badge.svg

Attrap! provides a command to attempt to fix the flycheck error at point.

Invoke the command attrap-attrap when point is on a flycheck error, and check the results. Attrap! currently comes with fixers for haskell-dante and emacs-lisp. Support for other flycheck checkers can be added dynamically (see attrap.el).

Installation with use-package:

(use-package attrap
  :ensure t
  :bind (("C-x /" . attrap-attrap))) ;; use any binding of your choice

Note for GHC users

Attrap assumes that GHC outputs unicode symbols in error messages, which will happen only if $LANG is set to a proper value, such as

export LANG=en_US.UTF-8 

Contributors

jypsergv

Issues