syntax-checking: add binding for `flycheck-disable-checker`
This commit is contained in:
parent
35cf3df3dc
commit
09698dc8fa
|
@ -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 |
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue