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:
parent
64c222a405
commit
466fcef4b7
@ -243,3 +243,14 @@
|
|||||||
(ispell-hunspell-add-multi-dic "en_GB,nl_NL,en_US")
|
(ispell-hunspell-add-multi-dic "en_GB,nl_NL,en_US")
|
||||||
(setq ispell-dictionary "en_GB,nl_NL,en_US"))
|
(setq ispell-dictionary "en_GB,nl_NL,en_US"))
|
||||||
#+END_SRC
|
#+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
|
||||||
|
@ -76,6 +76,8 @@
|
|||||||
+lsp)
|
+lsp)
|
||||||
ledger ; an accounting system in Emacs
|
ledger ; an accounting system in Emacs
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
|
(haskell ; Haskell support
|
||||||
|
+ lsp)
|
||||||
(org ; organize your plain life in plain text
|
(org ; organize your plain life in plain text
|
||||||
+roam
|
+roam
|
||||||
+dragndrop ; drag & drop files/images into org buffers
|
+dragndrop ; drag & drop files/images into org buffers
|
||||||
|
Loading…
Reference in New Issue
Block a user