a211dfcbf5
Add a variable `syntax-checking-check-on-buffer-change` to the `syntax-checking` layer which conditionally sets the variable `flycheck-check-syntax-automatically` to: - `'(save mode-enabled)` when nil - `'(save idle-change new-line mode-enabled)` (the package default) when non-nil The various settings determine when Flycheck evaluates the buffer: - `save` triggers a buffer check after buffer save. - `mode-enabled` triggers a buffer check when `flycheck-mode` is enabled. - `idle-change` triggers a buffer check after the editor has been idle for `flycheck-idle-change-delay` - `new-line` triggers a buffer check whenever a new line is inserted into the buffer |
||
---|---|---|
.. | ||
img | ||
config.el | ||
packages.el | ||
README.org |
Syntax Checking configuration layer for Spacemacs
Table of Contents TOC@4
Description
Install
Layer
To use this configuration layer add it to your ~/.spacemacs
(setq-default dotspacemacs-configuration-layers '(syntax-checking))
Enabling/Disabling tooltips
By default tooltips are enabled and used whenever it is possible.
You can disable them by setting the variable syntax-checking-enable-tooltips
to nil
:
(setq-default dotspacemacs-configuration-layers
'((syntax-checking :variables syntax-checking-enable-tooltips nil)))
Key Bindings
Key Binding | Description |
---|---|
SPC e c |
clear errors |
SPC e l |
display a list of all the errors |
SPC S c |
|
SPC t s |
toggle flycheck |
SPC t S |
toggle flyspell |