From b709b8db2892315edfa6798de7a9af68e3c977d9 Mon Sep 17 00:00:00 2001 From: bard Date: Mon, 11 Dec 2023 06:06:15 -0500 Subject: gruvbox --- bard-emacs-modules/bard-emacs-lang.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'bard-emacs-modules/bard-emacs-lang.el') diff --git a/bard-emacs-modules/bard-emacs-lang.el b/bard-emacs-modules/bard-emacs-lang.el index 3623718..3135007 100644 --- a/bard-emacs-modules/bard-emacs-lang.el +++ b/bard-emacs-modules/bard-emacs-lang.el @@ -31,7 +31,11 @@ (add-hook 'emacs-lisp-mode-hook 'bard/common-modes-hook) (add-hook 'haskell-mode-hook 'bard/common-modes-hook) +(add-hook 'haskell-mode-hook 'interactive-haskell-mode) +(add-hook 'haskell-mode-hook 'haskell-doc-mode) +(add-hook 'haskell-mode-hook 'haskell-indent-mode) (add-hook 'clojure-mode-hook 'bard/common-modes-hook) +(add-hook 'tuareg-mode-hook 'bard/common-modes-hook) ;; CPP Mode (defun bard/c++-mode-keybindings () @@ -41,9 +45,12 @@ (add-hook 'c++-mode 'bard/common-modes-hook) ;; Haskell -(setq exec-path (append exec-path '("/home/bard/.ghcup/bin/haskell-language-server-wrapper"))) -(setq exec-path (append exec-path '("/home/bard/.ghcup/bin/haskell-language-server-9.0.2"))) +;; (add-to-list 'company-backends 'company-dabbrev-code) +;; (add-to-list 'company-backends 'company-yasnippet) +;; (add-to-list 'company-backends 'company-files) + (add-to-list 'exec-path "/home/bard/.ghcup/bin") +(add-to-list 'exec-path "/home/bard/.cabal/bin") (provide 'bard-emacs-lang.el) ;;; bard-emacs-lang.el ends here -- cgit v1.2.3