Commit graph

10 commits

Author SHA1 Message Date
syl20bnr
cd600cad4f syntax-checking: just use flycheck default
This commit drastically simplify the previous commit by removing
the layer variable syntax-checking-check-on-buffer-change and
the associated usage of it.

This effectively make spacemacs use the default flycheck setting.
If the user wants to customize this behavior then she can modify
directly the flycheck variable.
2015-07-01 01:16:05 -04:00
Ryan Whitehurst
a211dfcbf5 Allow syntax checking to happen on buffer change
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
2015-07-01 01:14:09 -04:00
syl20bnr
561676d675 Move flyspell and helm-flyspell to syntax-checking layer 2015-05-13 23:11:34 -04:00
syl20bnr
802c573661 Move around toggle bindings
ts for syntax checking
tS for spelling checking
tf for fill column
tF for auto-fill
tc for camelcase
2015-05-13 22:57:30 -04:00
syl20bnr
25961f804b syntax-checking layer: rename syntax-checking-flycheck-pos-tip
to syntax-checking-enable-tooltips

Also always install flycheck-pos-tip even if not enabled
2015-04-27 23:37:26 -04:00
Ben Hayden
a39200ef1c Add ability to disable flycheck-pos-tip
Some people don't like pop-up messages in their editing window and
prefer to keep it located in the echo area.
2015-04-27 23:32:50 -04:00
syl20bnr
fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
Jean-Christophe Petkovich
12ac8bcddd Fix typo in syntax-checking layer.
Not much else to say about it.
2015-04-13 21:29:32 -04:00
syl20bnr
90c004cb65 Update syntax-checking layer 2015-04-10 23:23:32 -04:00
syl20bnr
a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00