From d564fbe75728b6368f0cb7bf8b5c2fe905afbf74 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 2 Apr 2021 10:37:57 +0100 Subject: [PATCH] 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. --- modules/linting/siren-flycheck.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/linting/siren-flycheck.el b/modules/linting/siren-flycheck.el index 7fcc484..2e91e73 100644 --- a/modules/linting/siren-flycheck.el +++ b/modules/linting/siren-flycheck.el @@ -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