Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install flycheck in spacemacs?

I am attempting to use flycheck with my spacemacs setup.

The spacemacs documentation, under "12.4.0.6 Minor Modes" lists flycheck as a mode which can be toggled with SPC t s.

flycheck spacemacs documentation

However, no such option is present in my spacemacs setup. Pressing SPC t raises a set of options that does not include s.

spacemacs no flycheck

And, if I press SPC t s anyway, I get the message SPC t s is undefined.

How can I install flycheck to use with spacemacs?

like image 366
mherzl Avatar asked Dec 05 '25 14:12

mherzl


1 Answers

Flycheck is provided as part of the syntax-checking layer. You need to install that layer in order to use the Spc t s keybinding. Check out the layer documentation here. To use it just add syntax-checking to your list of dotspacemacs-configuration-layers like so:

(setq-default
 dotspacemacs-configuration-layers
    '(
      syntax-checking
      )
 )
like image 136
Sam Pillsworth Avatar answered Dec 09 '25 03:12

Sam Pillsworth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!