lang/{javascript,web}: add web-beautify plugin

This commit is contained in:
Henrik Lissner 2017-03-23 15:47:07 -04:00
parent 0243229690
commit 495b0d0016
4 changed files with 20 additions and 3 deletions

View file

@ -4,6 +4,15 @@
(load! +css)
(def-package! web-beautify
:commands (web-beautify-html web-beautify-css)
:init
(map! (:map* (css-mode-map scss-mode-map less-css-mode-map)
:n "gQ" 'web-beautify-css)
(:map* web-mode-map
:n "gQ" 'web-beautify-html)))
;;
;; Frameworks
;;

View file

@ -2,6 +2,7 @@
;;; 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")))