diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-17 10:46:19 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-17 10:46:19 -0500 |
commit | 18cccf8ce0b0ac454b74f6ce81219a42117aa447 (patch) | |
tree | dbb58d704c8499d639a2a39578dd0876370efe4b /lisp/web.el | |
parent | 1ef51c8468872b70eea8335a8166b64711c9fe98 (diff) |
Improved CSS mode, removed the dashboard (it was useless), and added go mode
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 |