doomemacs/modules/lang/web/packages.el

28 lines
643 B
EmacsLisp
Raw Normal View History

2017-02-19 18:57:16 -05:00
;; -*- no-byte-compile: t; -*-
;;; lang/web/packages.el
(package! rainbow-mode)
(package! web-beautify)
(when (featurep! :completion ivy)
(package! counsel-css :recipe (:fetcher github :repo "hlissner/emacs-counsel-css")))
2017-02-19 18:57:16 -05:00
;; +html.el
(package! company-web)
(package! emmet-mode)
(package! haml-mode)
(package! pug-mode)
(package! web-mode)
2017-02-19 18:57:16 -05:00
;; +css.el
(package! less-css-mode)
(package! sass-mode)
(package! stylus-mode)
2017-02-19 18:57:16 -05:00
;;
(def-bootstrap! web
:requires nodejs
(unless (executable-find "js-beautify")
(sh "npm -g install js-beautify"))
(unless (executable-find "stylelint")
(sh "npm -g install stylelint stylelint-scss")))