summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--custom.el2
-rw-r--r--init.el10
2 files changed, 11 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index 51a1dc0..7620b98 100644
--- a/custom.el
+++ b/custom.el
@@ -9,7 +9,7 @@
'(display-line-numbers-type 'relative t)
'(display-time-mode t)
'(package-selected-packages
- '(eglot helm popup async notmuch ivy calfw-org calfw unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
+ '(markdown-mode eglot helm popup async notmuch ivy calfw-org calfw unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
diff --git a/init.el b/init.el
index 23f2e3f..eca2615 100644
--- a/init.el
+++ b/init.el
@@ -221,6 +221,16 @@ Restart works only on graphic display."
;; PACKAGES
+;; markdown mode
+(use-package markdown-mode
+ :ensure t
+ :config
+ :hook (markdown-mode-hook . (lambda ()
+ (when buffer-file-name
+ (add-hook 'after-save-hook
+ 'check-parens
+ nil t)))))
+
;; eglot language server protocol client
(use-package eglot
:ensure t)