mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Since we enable global-company-mode, explicitly enabling it in the setup for various major modes does nothing. But it does tie the code to company mode, making it harder to try alternatives like corfu.
32 lines
512 B
EmacsLisp
32 lines
512 B
EmacsLisp
;;; siren-css.el --- jimeh's Emacs Siren: css-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for css-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-lsp)
|
|
(require 'siren-prettier-js)
|
|
(require 'siren-rainbow)
|
|
|
|
(use-package css-mode
|
|
:mode "\\.css\\'"
|
|
|
|
:hook
|
|
(css-mode . siren-css-mode-setup)
|
|
|
|
:custom
|
|
(css-indent-offset 2)
|
|
|
|
:init
|
|
(defun siren-css-mode-setup ()
|
|
(setq tab-width 2)
|
|
|
|
(prettier-js-mode)
|
|
(lsp-deferred)
|
|
(rainbow-mode +1)))
|
|
|
|
(provide 'siren-css)
|
|
;;; siren-css.el ends here
|