summaryrefslogtreecommitdiff
path: root/modules/flycheck-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/flycheck-config.el')
-rw-r--r--modules/flycheck-config.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/flycheck-config.el b/modules/flycheck-config.el
index 82ff56cd..1b9a7183 100644
--- a/modules/flycheck-config.el
+++ b/modules/flycheck-config.el
@@ -44,11 +44,14 @@
;; ---------------------------------- Linting ----------------------------------
(use-package flycheck
+ :after custom-functions ;; for keymap binding
:defer t
:commands (flycheck-list-errors
cj/flycheck-list-errors)
:hook ((sh-mode emacs-lisp-mode) . flycheck-mode)
- :bind (("C-; ?" . cj/flycheck-list-errors))
+ :bind
+ (:map cj/custom-keymap
+ ("?" . cj/flycheck-list-errors))
:custom
;; Only disable these two Checkdoc warnings; leave all others intact.
(checkdoc-arguments