Files
.emacs.d/modules/linting/siren-flycheck.el
Jim Myhrberg d564fbe757 fix(linting): change flycheck fringe indicator to a left-pointing arrow
As flycheck uses the right fringe to indicate warnings/errors, the
default rightward pointing arrow never made much sense. This replaces it
with a custom leftward facing double-arrow so it actually points back at
the code in question.
2021-04-02 10:37:57 +01:00

33 lines
715 B
EmacsLisp

;;; siren-flycheck.el --- jimeh's Emacs Siren: flycheck configuration.
;;; Commentary:
;; Basic configuration for flycheck.
;;; Code:
(use-package flycheck
:hook
(prog-mode . flycheck-mode)
:custom
(flycheck-completion-system 'ido)
(flycheck-idle-change-delay 1.0)
(flycheck-indication-mode 'right-fringe)
(flycheck-ruby-rubocop-executable "rubocop-bundle-safe")
(flycheck-javascript-standard-executable "semistandard")
:config
(define-fringe-bitmap 'flycheck-fringe-bitmap-double-arrow
[#b00000000
#b00011001
#b00110010
#b01100100
#b11001000
#b01100100
#b00110010
#b00011001] nil nil nil))
(provide 'siren-flycheck)
;;; siren-flycheck.el ends here