config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 407287615e7393617e1e7b9df56c6fe027d38160
parent 1c1fd54ff7c76297b89862979ac70d5dc06073ab
Author: dwrz <dwrz@dwrz.net>
Date:   Fri,  5 Jan 2024 15:28:55 +0000

Update Emacs init

Diffstat:
Memacs/init.el | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -214,7 +214,7 @@ (use-package csv-mode :mode "\\.csv\\'" :ensure t) -(use-package css-mode :hook (web-mode . css-mode) :ensure nil) +(use-package css-mode :ensure nil) (use-package delsel :ensure nil :init (delete-selection-mode t)) @@ -757,8 +757,10 @@ (use-package web-mode :config (setq web-mode-code-indent-offset 2 web-mode-css-indent-offset 2 - web-mode-indent-style 2 - web-mode-markup-indent-offset 2) + web-mode-engines-alist + '(("go" . "\\.gohtml\\'")) + web-mode-indent-style 2 + web-mode-markup-indent-offset 2) :mode (("\\.html?\\'" . web-mode) ("\\.gohtml\\'" . web-mode)) :ensure t)