use poper emacs namespace, move keys to dedicated minor mode
This commit is contained in:
parent
7f5f90ae4d
commit
76c7d665c7
38 changed files with 337 additions and 221 deletions
|
|
@ -1,31 +0,0 @@
|
|||
;;; purescript.el --- summary
|
||||
|
||||
;; Author: Maciej Szlosarczyk
|
||||
;; Maintainer: Maciej Szlosarczyk
|
||||
;; Version: 0.1-snapshot
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; purescript does a thing.
|
||||
|
||||
;;; Code:
|
||||
(use-package purescript-mode
|
||||
:requires (lsp-mode lsp-ui)
|
||||
:ensure t)
|
||||
|
||||
(defun activate-purescript-mode ()
|
||||
"All things Purescript."
|
||||
(set-indent 2)
|
||||
(column-enforce-n 98)
|
||||
|
||||
;; Purescript indentation
|
||||
(purescript-indentation-mode t)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet)))
|
||||
|
||||
(add-hook 'purescript-mode-hook 'activate-purescript-mode)
|
||||
|
||||
(provide 'languages/purescript)
|
||||
;;; purescript.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue