diff options
-rw-r--r-- | emacs/init.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 2cb8681..59fadc1 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -974,6 +974,24 @@ With prefix argument TIME, also add the current time." (common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec/")) :mode ((rx (or ".lisp" ".cl") eos) . common-lisp-mode)) +;; Html + +(use-package web-mode + ;; :ensure t + :mode "\\.html?\\'" + :mode "\\.css\\'" + :mode "\\.phtml\\'" + :mode "\\.tpl\\.php\\'" + :mode "\\.[agj]sp\\'" + :mode "\\.as[cp]x\\'" + :mode "\\.erb\\'" + :mode "\\.mustache\\'" + :mode "\\.djhtml\\'" + :custom + (web-mode-markup-indent-offser 4) + (web-mode-css-indent-offset 4) + (web-mode-code-indent-offset 4)) + ;; Write url to text file (defvar noa/record-url-file "~/Documents/Library/urls") (defun noa/record-url (url &rest args) |