Skip to content

Commit

Permalink
syntax-checking: add binding for flycheck-disable-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
lebensterben committed Jul 13, 2022
1 parent 35cf3df commit 09698dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions layers/+checkers/syntax-checking/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ and =syntax-checking-window-height= for width and height respectively.
|-------------+--------------------------------------------------------------|
| ~SPC e b~ | check for errors now |
| ~SPC e c~ | clear errors |
| ~SPC e d~ | disable a checker in current buffer |
| ~SPC e h~ | describe flycheck checker |
| ~SPC e l~ | display a list of all the errors |
| ~SPC e L~ | display a list of all the errors and focus the errors buffer |
Expand Down
21 changes: 11 additions & 10 deletions layers/+checkers/syntax-checking/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@
flycheck-global-modes nil)
;; key bindings
(spacemacs/set-leader-keys
"eb" 'flycheck-buffer
"ec" 'flycheck-clear
"eh" 'flycheck-describe-checker
"el" 'spacemacs/toggle-flycheck-error-list
"eL" 'spacemacs/goto-flycheck-error-list
"es" 'flycheck-select-checker
"eS" 'flycheck-set-checker-executable
"ev" 'flycheck-verify-setup
"ey" 'flycheck-copy-errors-as-kill
"ex" 'flycheck-explain-error-at-point)
"eb" #'flycheck-buffer
"ec" #'flycheck-clear
"ed" #'flycheck-disable-checker
"eh" #'flycheck-describe-checker
"el" #'spacemacs/toggle-flycheck-error-list
"eL" #'spacemacs/goto-flycheck-error-list
"es" #'flycheck-select-checker
"eS" #'flycheck-set-checker-executable
"ev" #'flycheck-verify-setup
"ey" #'flycheck-copy-errors-as-kill
"ex" #'flycheck-explain-error-at-point)
(spacemacs|add-toggle syntax-checking
:mode flycheck-mode
:documentation "Enable error and syntax checking."
Expand Down

0 comments on commit 09698dc

Please sign in to comment.