Skip to content

Commit

Permalink
tweak(emacs): web-mode: use init
Browse files Browse the repository at this point in the history
No custom variables?
  • Loading branch information
gekoke committed Jan 30, 2024
1 parent c8a78d4 commit faebcdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,8 @@
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(add-to-list 'web-mode-engines-alist '("django" . "\\.html\\'"))
:custom
(web-mode-auto-open t)
(web-mode-auto-indent t))
(setq web-mode-auto-open t)
(setq web-mode-auto-quoting t))

(use-package yaml-mode
:mode ("\\.\\(yml\\|yaml\\)\\'"))
Expand Down

0 comments on commit faebcdd

Please sign in to comment.