aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-lang.el
diff options
context:
space:
mode:
authorbard <[email protected]>2023-12-11 06:06:15 -0500
committerbard <[email protected]>2023-12-11 06:06:15 -0500
commitb709b8db2892315edfa6798de7a9af68e3c977d9 (patch)
tree25fc32714c3af142456f8c2bf8ab7b7f066f8790 /bard-emacs-modules/bard-emacs-lang.el
parent94a76b994a741decf025ae5d5f2f1265977a3115 (diff)
gruvbox
Diffstat (limited to 'bard-emacs-modules/bard-emacs-lang.el')
-rw-r--r--bard-emacs-modules/bard-emacs-lang.el11
1 files changed, 9 insertions, 2 deletions
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