I am using use-package and straight (with (setq straight-use-package-by-default t)) to load my packages.
I would like to use this scss-mode package to work SCSS files. I am loading it with
(use-package scss-mode :mode "\\.scss'" :config (setq scss-compile-at-save t scss-sass-command "sassc")) But Emacs still uses the built-in scss-mode when I open .scss files. How can I use the above mode instead? (Emacs 29.4).
M-x locate-library RET scss-mode RETsay? If it does not point to where you've installed the mode, add the path to yourload-path, at the beginning so it will override the built-in one. Also, I don't think your:modespecification above is correct. You should probably use what the linked documentation shows:: mode ("\\.scss\\'" . scss-mode). Check yourauto-mode-alistto make sure it's correct.