From 2f6a76e8e79046b160ecfa43aea939ea6bc994c0 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:46:59 +0400 Subject: [PATCH] add haskell --- config/emacs/emacs.org | 6 ++++++ config/emacs/init.el | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 772d8dab..1380dbd0 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -534,6 +534,12 @@ make sure to setup authinfo :config (elpy-enable)) #+end_src +***** Haskell +#+begin_src emacs-lisp + (use-package haskell-mode + :mode "\\.hs\\'" + :hook (python-mode . lsp-deferred)) +#+end_src ***** Yaml editing #+begin_src emacs-lisp (use-package yaml-mode diff --git a/config/emacs/init.el b/config/emacs/init.el index 44b3b4a4..5388c697 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -454,6 +454,10 @@ :config (elpy-enable)) +(use-package haskell-mode + :mode "\\.hs\\'" + :hook (python-mode . lsp-deferred)) + (use-package yaml-mode :mode ("\\.yaml\\'" "\\.yml\\'"))