1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Add haskell & mdx support to emacs

This commit is contained in:
Ryan Kes 2020-06-01 17:34:06 +02:00
parent 64c222a405
commit 466fcef4b7
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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