summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.org b/config.org index bd60ff2..70852f4 100644 --- a/config.org +++ b/config.org
@@ -1724,6 +1724,28 @@ checks for a shebang).
1724 (get 'when 'common-lisp-indent-function)) 1724 (get 'when 'common-lisp-indent-function))
1725#+end_src 1725#+end_src
1726 1726
1727*** Web
1728
1729#+begin_src emacs-lisp :noweb-ref packages
1730 (straight-use-package 'web-mode)
1731 (require 'web-mode)
1732#+end_src
1733
1734#+begin_src emacs-lisp :noweb-ref hooks
1735 (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
1736 (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
1737 (add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
1738 (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
1739 (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
1740 (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
1741 (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
1742 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
1743#+end_src
1744
1745#+begin_src emacs-lisp :noweb-ref settings
1746 (setq-default web-mode-enable-current-element-highlight t)
1747#+end_src
1748
1727* Applications 1749* Applications
1728 1750
1729Emacs is well-known for its ability to subsume one's entire computing 1751Emacs is well-known for its ability to subsume one's entire computing