Commit graph

18 commits

Author SHA1 Message Date
syl20bnr
c8a2d2d4f3 Move SPC e ? to SPC e h 2015-08-30 23:20:47 -04:00
Bar Magal
96c61cb528 New commands for flycheck
- SPC e l : toggle display of flycheck's error window
- SPC e v : flycheck-verify-setup
- SPC e ? : flycheck-describe-checker
2015-08-30 23:16:30 -04:00
justbur
72e6aecb7c Break spell-checking layer out of syntax-checking 2015-08-13 22:56:00 -04:00
syl20bnr
e87e51a6d4 Move flycheck config to emacs-lisp layer 2015-08-13 22:40:29 -04:00
Diego Berrocal
4e989acce8 Make flycheck recognize loadpath
So that lines like

```elisp
  (require 'company)
```

Are not listed as errors.
2015-08-13 22:37:20 -04:00
Eivind Fonn
0f979d3cea Better indentation for add-toggle 2015-07-27 12:09:27 -04:00
Eivind Fonn
c52535fe99 Implement modeline DSL 2015-07-26 22:35:15 -04:00
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
Diego Berrocal
460ce54006 Org conversion of all READMEs ! 2015-06-11 21:31:42 -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