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.
This commit is contained in:
2021-04-02 10:37:57 +01:00
parent 301a134a72
commit d564fbe757

View File

@@ -15,7 +15,18 @@
(flycheck-idle-change-delay 1.0)
(flycheck-indication-mode 'right-fringe)
(flycheck-ruby-rubocop-executable "rubocop-bundle-safe")
(flycheck-javascript-standard-executable "semistandard"))
(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