Add new mode hooks for markdown and js

This commit is contained in:
jdormit 2024-10-04 12:26:58 -04:00
parent 6352fbb697
commit 0aa619200f
2 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,8 @@
"C-c M-z" #'js-send-buffer-and-go))
(use-package typescript-mode
:mode ("\\.ts\\'"
"\\.mjs\\'")
:custom
(typescript-indent-level 2))

View File

@ -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))