From 74735b41a8e3fd34d87c7bb77d16b554ae7fc70b Mon Sep 17 00:00:00 2001 From: Maximilian Wolff Date: Sun, 7 Jun 2020 23:03:46 +0200 Subject: [PATCH] [syntax-checking] Document activation of traditional error navigation --- layers/+checkers/syntax-checking/README.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/layers/+checkers/syntax-checking/README.org b/layers/+checkers/syntax-checking/README.org index 73a98cd07..561d4d6af 100644 --- a/layers/+checkers/syntax-checking/README.org +++ b/layers/+checkers/syntax-checking/README.org @@ -12,6 +12,7 @@ - [[#enablingdisabling-tooltips][Enabling/Disabling tooltips]] - [[#disabling-by-default][Disabling by default]] - [[#enable-flycheck-globally][Enable flycheck globally]] + - [[#enable-support-for-traditional-error-navigation][Enable support for traditional error navigation]] - [[#bitmaps][Bitmaps]] - [[#key-bindings][Key bindings]] @@ -70,6 +71,19 @@ This may result in loading slow or not properly configured checkers as well as break some of the more advanced configuration settings of the layer system. +** Enable support for traditional error navigation +By default spacemacs takes care to call the right function to jump +to the next or previous error. However if wished flycheck can also +override =next-error= and =previous-error= respectively allowing +to use alternative general emacs bindings instead of the spacemacs +specific ones. To do so set =syntax-checking-use-standard-error-navigation= +to non-nil. + +#+BEGIN_SRC emacs-lisp + (setq-default dotspacemacs-configuration-layers + '((syntax-checking :variables syntax-checking-use-standard-error-navigation t))) +#+END_SRC + ** Bitmaps If the original flycheck fringe bitmaps are more to your liking, you can set the variable =syntax-checking-use-original-bitmaps= to =t=: