add markdown-ts-mode

This commit is contained in:
2026-06-25 11:05:06 -04:00
parent 051ae8d9d2
commit bac6f949ab

13
init.el
View File

@@ -39,8 +39,12 @@
make-backup-files nil make-backup-files nil
dired-dwim-target t dired-dwim-target t
manual-program "gman" manual-program "gman"
speedbar-window-default-width 25
speedbar-window-max-width 25
) )
(load-file "~/.emacs.d/utils.el") (load-file "~/.emacs.d/utils.el")
;; (setq-default cursor-type 'bar) ;; (setq-default cursor-type 'bar)
@@ -79,6 +83,8 @@
(exec-path-from-shell-initialize) (exec-path-from-shell-initialize)
(setq treesit-enabled-modes t)
(use-package evil (use-package evil
:custom :custom
(evil-want-C-u-scroll t) (evil-want-C-u-scroll t)
@@ -176,7 +182,8 @@
(use-package eglot (use-package eglot
:custom :custom
(eglot-code-action-indicator "*") (eglot-documentation-renderer 'markdown-ts-view-mode)
(eglot-code-action-indications nil)
:hook ((jai-mode . eglot-ensure) :hook ((jai-mode . eglot-ensure)
(dart-mode . eglot-ensure)) (dart-mode . eglot-ensure))
:config :config
@@ -206,3 +213,7 @@
(use-package flymake (use-package flymake
:custom :custom
(flymake-wrap-around t)) (flymake-wrap-around t))
(use-package markdown-ts-mode
:mode ("\\.md\\'" . markdown-ts-mode)
:defer t)