diff --git a/emacs/.config/doom/configuration.org b/emacs/.config/doom/configuration.org index 3eec03b..37fb493 100644 --- a/emacs/.config/doom/configuration.org +++ b/emacs/.config/doom/configuration.org @@ -243,3 +243,14 @@ (ispell-hunspell-add-multi-dic "en_GB,nl_NL,en_US") (setq ispell-dictionary "en_GB,nl_NL,en_US")) #+END_SRC +* Markdown +** Open mdx files in markdown-mode +#+BEGIN_SRC emacs-lisp + (add-to-list 'auto-mode-alist '("\\.mdx\\'" . markdown-mode)) +#+END_SRC +* Haskell +** Auto format Haskell code on save +#+BEGIN_SRC emacs-lisp +(custom-set-variables + '(haskell-stylish-on-save t)) +#+END_SRC diff --git a/emacs/.config/doom/init.el b/emacs/.config/doom/init.el index 3a66467..c0fe125 100644 --- a/emacs/.config/doom/init.el +++ b/emacs/.config/doom/init.el @@ -76,6 +76,8 @@ +lsp) ledger ; an accounting system in Emacs markdown ; writing docs for people to ignore + (haskell ; Haskell support + + lsp) (org ; organize your plain life in plain text +roam +dragndrop ; drag & drop files/images into org buffers