You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening a CSS or SCSS file doesn't enable YaSnippet mode.
In my attempt to load them, I performed M-x yas-global-mode. This causes emacs to attempt to load from .emacs.d/snippets rather than the .emacs.d/private/snippets dir. Putting snippets in the former dir allows them to be loaded. Not sure if these issues are related. Note that it DOES find .emacs.d/private/snippets on non CSS/SCSS files.
The text was updated successfully, but these errors were encountered:
css-mode and scss mode do not inherit from any of the above top-level mode classes. They both are derived from fundamental-mode, so the hook should probably be added to them individually. I have also noticed that snippets aren't loaded for latex mode sometimes, since it derives from text-mode.
This fixessyl20bnr#532 by adding spacemacs/load-yasnippet to the css-mode-hook.
This fixes both css-mode and scss-mode.
Switch to init-yasnippet for calling load-yasnippet
This fixessyl20bnr#532 by adding spacemacs/load-yasnippet to the css-mode-hook.
This fixes both css-mode and scss-mode.
Switch to init-yasnippet for calling load-yasnippet
Opening a CSS or SCSS file doesn't enable YaSnippet mode.
In my attempt to load them, I performed
M-x yas-global-mode
. This causes emacs to attempt to load from .emacs.d/snippets rather than the .emacs.d/private/snippets dir. Putting snippets in the former dir allows them to be loaded. Not sure if these issues are related. Note that it DOES find .emacs.d/private/snippets on non CSS/SCSS files.The text was updated successfully, but these errors were encountered: