mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Split large modules into smaller parts (e.g. siren-text-manipulation) - Organize modules into high level groups: - completion - core - editor - languages - linting - misc - navigation - projects - spelling - text-editing - version-control - windows - workspaces
27 lines
478 B
EmacsLisp
27 lines
478 B
EmacsLisp
;;; siren-css.el --- jimeh's Emacs Siren: css-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for css-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-rainbow)
|
|
|
|
(use-package css-mode
|
|
:mode "\\.css\\'"
|
|
:hook (css-mode-hook . siren-css-mode-setup)
|
|
|
|
:config
|
|
(setq css-indent-offset 2)
|
|
|
|
:init
|
|
(defun siren-css-mode-setup ()
|
|
(setq tab-width 2)
|
|
|
|
(highlight-indentation-current-column-mode +1)
|
|
(rainbow-mode +1)))
|
|
|
|
(provide 'siren-css)
|
|
;;; siren-css.el ends here
|