diff --git a/init.el b/init.el index 7f1fbb4..bec93c4 100644 --- a/init.el +++ b/init.el @@ -1001,7 +1001,7 @@ (use-package web-mode :ensure t :config - (add-to-list 'auto-mode-alist '("\\.html?\\" . web-mode))) + (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))) ;; `c-mode' settings (add-hook 'c-mode-common-hook