- Timestamp:
- Jul 15, 2022, 6:52:01 AM (3 years ago)
- Branches:
- master
- Children:
- 07d6016
- Parents:
- f38167b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
rf38167b r13a1472 1126 1126 *** Web-mode 1127 1127 #+BEGIN_SRC emacs-lisp :tangle init.el 1128 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) 1129 (add-to-list 'auto-mode-alist '("\\.twig\\'" . web-mode)) 1130 1131 (setq web-mode-markup-indent-offset 2) 1132 (setq web-mode-enable-auto-pairing t) 1133 (setq web-mode-enable-css-colorization t) 1134 (setq web-mode-enable-block-face t) 1135 (setq web-mode-enable-current-element-highlight t) 1136 (setq web-mode-enable-current-column-highlight t) 1128 (when (package-loaded? "web-mode") 1129 (progn 1130 1131 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) 1132 (add-to-list 'auto-mode-alist '("\\.twig.html\\'" . web-mode)) 1133 1134 (setq web-mode-markup-indent-offset 2) 1135 (setq web-mode-enable-auto-pairing t) 1136 (setq web-mode-enable-css-colorization t) 1137 (setq web-mode-enable-block-face t) 1138 (setq web-mode-enable-current-element-highlight t) 1139 (setq web-mode-enable-current-column-highlight t))) 1137 1140 #+END_SRC 1138 1141
Note:
See TracChangeset
for help on using the changeset viewer.