1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add markdown mode to emacs

This commit is contained in:
Stefan Ellmauthaler 2022-09-06 11:30:18 +02:00
parent 9ca2aeab98
commit eb08f1430f
Failed to extract signature
2 changed files with 7 additions and 0 deletions

View File

@ -491,6 +491,12 @@
:mode "\\.json\\'" :mode "\\.json\\'"
:hook (json-mode-hook . yas-minor-mode)) :hook (json-mode-hook . yas-minor-mode))
;; markdown
(use-package markdown-mode
:hook (markdown-mode . lsp)
:config
(require 'lsp-marksman))
;; lsp ;; lsp
(use-package lsp-mode (use-package lsp-mode
:demand t :demand t

View File

@ -74,6 +74,7 @@ with lib; let
lsp-mode lsp-mode
lsp-ui lsp-ui
magit magit
markdown-mode
moe-theme moe-theme
multiple-cursors multiple-cursors
nix-mode nix-mode