Major overhaul
This commit is contained in:
parent
4ab3ae1125
commit
6bda25da1f
76 changed files with 7431 additions and 571 deletions
20
modules/init-scss.el
Normal file
20
modules/init-scss.el
Normal file
|
@ -0,0 +1,20 @@
|
|||
(use-package scss-mode
|
||||
:mode "\\.scss$"
|
||||
:config
|
||||
(progn
|
||||
(add-hook 'scss-mode-hook 'enable-tab-width-2)
|
||||
(add-hook 'scss-mode-hook 'ac-css-mode-setup)
|
||||
|
||||
(setq-default css-indent-offset 2)
|
||||
(setq scss-compile-at-save nil)
|
||||
|
||||
(after "company"
|
||||
(company--backend-on 'scss-mode-hook 'company-css))))
|
||||
|
||||
(use-package rainbow-mode
|
||||
:defer t
|
||||
:init (add-hook 'scss-mode-hook 'rainbow-mode))
|
||||
|
||||
|
||||
(provide 'init-scss)
|
||||
;;; init-scss.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue