Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
bf90b046b8
commit
1f20dd7bc1
27 changed files with 81 additions and 82 deletions
37
lisp/langs/icejam-lang-haskell.el
Normal file
37
lisp/langs/icejam-lang-haskell.el
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
;;; haskell.el --- summary -*- lexical-binding: t; -*-
|
||||
|
||||
;; Author: Maciej Szlosarczyk
|
||||
;; Maintainer: Maciej Szlosarczyk
|
||||
;; Version: 0.1-snapshot
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Provides configuration for haskell files
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'icejam-prog-mode)
|
||||
|
||||
(use-package haskell-mode
|
||||
:straight t
|
||||
:defer t)
|
||||
|
||||
(use-package lsp-haskell
|
||||
:straight t
|
||||
:defer t
|
||||
:requires (lsp-mode lsp-ui haskell-mode))
|
||||
|
||||
(defun activate-haskell-mode ()
|
||||
"Run this in haskell-mode."
|
||||
(set-indent 2)
|
||||
(column-enforce-n 80)
|
||||
(lsp-deferred)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet)))
|
||||
|
||||
(add-hook 'haskell-mode-hook 'activate-haskell-mode)
|
||||
|
||||
(provide 'icejam-lang-haskell)
|
||||
;;; icejam-lang-haskell.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue