-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yaml layer: enable flycheck #7153
Conversation
(defun yaml/init-yaml-mode () | ||
"Initialize YAML mode" | ||
(use-package yaml-mode | ||
:defer t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:mode
implies :defer
, so no need for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, i see, one sec then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems flycheck doesn't syntax check yaml files without external tools. If you could add a documentation section about the available syntax checkers that would be great too.
@TheBB -- actually all flycheck checkers require external tools. Literally all flycheck does is parse the output from the various tools... |
@@ -1,4 +1,4 @@ | |||
;;; config.el --- YAML Layer packages File for Spacemacs | |||
;;; config.el --- YAML Layer configuration File for Spacemacs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this line. But it should be config
😸
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can fix it, but I just looked it up from other layers :-)
~/Code/spacemacs/spacemacs on yaml_flycheck ⌚ 20:34:53
$ ag "config file"| wc -l
11
~/Code/spacemacs/spacemacs on yaml_flycheck ⌚ 20:35:00
$ ag "configuration file"| wc -l
67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm... indeed 😸
Thank you 👍 Cherry-picked into |
No description provided.