Skip to content

Commit

Permalink
fix(emacs): web-mode incorrectly loading settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Jan 31, 2024
1 parent faebcdd commit 2726518
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,10 @@
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
(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\\'"))
(setq web-mode-auto-open t)
(setq web-mode-auto-quoting t))
:custom
(web-mode-engines-alist '(("django" . "\\.html\\'")))
(web-mode-enable-auto-opening t)
(web-mode-enable-auto-quoting t))

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

0 comments on commit 2726518

Please sign in to comment.