diff --git a/satysfi-ts-mode.el b/satysfi-ts-mode.el index 2cd12b8..8901b13 100644 --- a/satysfi-ts-mode.el +++ b/satysfi-ts-mode.el @@ -302,8 +302,8 @@ (when (treesit-ready-p 'satysfi) (add-hook 'satysfi-ts-mode-hook (lambda () (setq comment-start "%") (setq comment-continue "") (setq comment-end ""))) - (add-to-list 'auto-mode-alist '("\\.saty$'" . satysfi-ts-mode)) - (add-to-list 'auto-mode-alist '("\\.satyh$'" . satysfi-ts-mode)))) + (add-to-list 'auto-mode-alist '("\\.saty\\'" . satysfi-ts-mode)) + (add-to-list 'auto-mode-alist '("\\.satyh\\'" . satysfi-ts-mode)))) (provide 'satysfi-ts-mode) ;;; satysfi-ts-mode.el ends here