diff options
Diffstat (limited to 'lisp/web.el')
-rw-r--r-- | lisp/web.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/web.el b/lisp/web.el index e71673d..d05fa34 100644 --- a/lisp/web.el +++ b/lisp/web.el @@ -10,7 +10,6 @@ ) (use-package web-mode - :mode ("\\.html\\'" . web-mode) :config (setq web-mode-markup-indent-offset 2 web-mode-code-indent-offset 2 @@ -20,8 +19,6 @@ ) (my-web-mode-colors) ) -(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) -(add-to-list 'auto-mode-alist '("\\.css\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)) @@ -93,5 +90,11 @@ (add-to-list 'projectile-globally-ignored-directories "node_modules") (add-to-list 'projectile-project-root-files "package.json")) +;; CSS eldoc +(use-package css-eldoc + :commands turn-on-css-eldoc + :config + (add-hook 'css-mode-hook 'turn-on-css-eldoc)) + (provide 'web) ;;; web.el ends here |