diff --git a/emacs/.emacs.d/config/init-js.el b/emacs/.emacs.d/config/init-js.el index ba8ee39..c0c9d83 100644 --- a/emacs/.emacs.d/config/init-js.el +++ b/emacs/.emacs.d/config/init-js.el @@ -34,6 +34,8 @@ "C-c M-z" #'js-send-buffer-and-go)) (use-package typescript-mode + :mode ("\\.ts\\'" + "\\.mjs\\'") :custom (typescript-indent-level 2)) diff --git a/emacs/.emacs.d/config/init-markdown.el b/emacs/.emacs.d/config/init-markdown.el index e3f9507..6c80e41 100644 --- a/emacs/.emacs.d/config/init-markdown.el +++ b/emacs/.emacs.d/config/init-markdown.el @@ -2,7 +2,8 @@ (use-package markdown-mode :mode (("\\.md\\'" . gfm-mode) - ("\\.markdown\\'" . gfm-mode)) + ("\\.markdown\\'" . gfm-mode) + ("\\.mdx\\'" . gfm-mode)) :custom (markdown-fontify-code-blocks-natively t))