all repos — archive/dotfiles @ f44fe9318f27659a278af650d11f7e87e211fd6d

Superseded by nixfiles

Emacs: Improve flycheck fringe indication

Show a flat block of colour on the right fringe
Alan Pearce alan@alanpearce.eu
Mon, 22 May 2017 17:09:43 +0200
commit

f44fe9318f27659a278af650d11f7e87e211fd6d

parent

bbf952dce8bfa1e6c6fffb576d93f5fad7bb24b4

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1732,6 +1732,9 @@ :defer 5   :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