diff options
| author | jao <jao@gnu.org> | 2026-03-25 23:44:41 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-03-25 23:45:20 +0000 |
| commit | 112123ccbf206b51da8be8d65191cd0aa9ab3620 (patch) | |
| tree | c1d86f1d1d53d5984c00aa3bc14224f690376122 /init.el | |
| parent | f00cb581e7b5e6d243c9050ea85142a8aacd0858 (diff) | |
| download | elibs-112123ccbf206b51da8be8d65191cd0aa9ab3620.tar.gz elibs-112123ccbf206b51da8be8d65191cd0aa9ab3620.tar.bz2 | |
toml and markdown with tsmain
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1325,8 +1325,13 @@ ;; used by markdown mode to edit code blocks (use-package edit-indirect :ensure t) -(dolist (ext '("\\.md$" "\\.markdown$")) - (add-to-list 'auto-mode-alist (cons ext 'markdown-mode))) +;; (dolist (ext '("\\.md$" "\\.markdown$")) +;; (add-to-list 'auto-mode-alist (cons ext 'markdown-mode))) + +(use-package md-ts-mode + :ensure t) + +(md-ts-mode-enable-global) ;;;; TeX and LaTex (use-package tex-site @@ -1640,6 +1645,7 @@ magit-push-always-verify nil magit-save-repository-buffers 'dontask magit-section-visibility-indicators '(("…" . t)) + magit-show-long-lines-warning nil magit-status-buffer-switch-function 'switch-to-buffer magit-status-show-hashes-in-headers t)) @@ -1678,7 +1684,10 @@ ;;;; toml (use-package eldoc-toml :ensure t) (use-package toml-ts-mode - :config (add-to-list 'auto-mode-alist '("`.*\\.toml" . toml-ts-mode))) + :config + (add-to-list 'auto-mode-alist '("`.*\\.toml" . toml-ts-mode)) + (add-hook 'toml-ts-mode-hook 'turn-off-auto-fill)) + ;;;; protobuf (use-package protobuf-mode :ensure t) |
