summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-22 17:09:43 +0200
committerAlan Pearce2017-05-22 17:09:43 +0200
commitf44fe9318f27659a278af650d11f7e87e211fd6d (patch)
tree9d347857ac7c8a4aa6c5cf9fd34a198ff2d6ae48
parentbbf952dce8bfa1e6c6fffb576d93f5fad7bb24b4 (diff)
downloadnixfiles-f44fe9318f27659a278af650d11f7e87e211fd6d.tar.lz
nixfiles-f44fe9318f27659a278af650d11f7e87e211fd6d.tar.zst
nixfiles-f44fe9318f27659a278af650d11f7e87e211fd6d.zip
Emacs: Improve flycheck fringe indication
Show a flat block of colour on the right fringe
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 4b2303a5..7cc2c99e 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1732,6 +1732,9 @@ On-the-fly error checking in programming modes?  Yes please.
   :config (progn
             (global-flycheck-mode)
             (setq flycheck-check-syntax-automatically '(save mode-enabled))
+            (setq flycheck-indication-mode 'right-fringe)
+            (fringe-helper-define 'flycheck-fringe-bitmap-double-arrow '(center repeated)
+              ".XXXXXXX")
             (if (executable-find "eslint_d")
                 (setq flycheck-javascript-eslint-executable "eslint_d"))))
 #+END_SRC