Add new mode hooks for markdown and js
This commit is contained in:
parent
6352fbb697
commit
0aa619200f
@ -40,6 +40,8 @@
|
|||||||
"C-c M-z" #'js-send-buffer-and-go))
|
"C-c M-z" #'js-send-buffer-and-go))
|
||||||
|
|
||||||
(use-package typescript-mode
|
(use-package typescript-mode
|
||||||
|
:mode ("\\.ts\\'"
|
||||||
|
"\\.mjs\\'")
|
||||||
:custom
|
:custom
|
||||||
(typescript-indent-level 2))
|
(typescript-indent-level 2))
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:mode (("\\.md\\'" . gfm-mode)
|
:mode (("\\.md\\'" . gfm-mode)
|
||||||
("\\.markdown\\'" . gfm-mode))
|
("\\.markdown\\'" . gfm-mode)
|
||||||
|
("\\.mdx\\'" . gfm-mode))
|
||||||
:custom
|
:custom
|
||||||
(markdown-fontify-code-blocks-natively t))
|
(markdown-fontify-code-blocks-natively t))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user