lang/elm: first attempt
This commit is contained in:
parent
3a0a2c5481
commit
978394fe31
3 changed files with 25 additions and 0 deletions
18
modules/lang/elm/config.el
Normal file
18
modules/lang/elm/config.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; lang/elm/config.el
|
||||
|
||||
(def-package! elm-mode
|
||||
:mode "\\.elm$"
|
||||
:init
|
||||
(add-hook 'elm-mode-hook #'flycheck-mode)
|
||||
(add-hook 'elm-mode-hook #'rainbow-delimiters-mode)
|
||||
:config
|
||||
(set! :company-backend 'elm-mode '(company-elm))
|
||||
(setq elm-format-on-save t)
|
||||
)
|
||||
|
||||
(def-package! flycheck-elm
|
||||
:after elm-mode
|
||||
:config
|
||||
(add-hook! 'flycheck-mode-hook #'flycheck-elm-setup)
|
||||
)
|
||||
|
6
modules/lang/elm/packages.el
Normal file
6
modules/lang/elm/packages.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/elm/packages.el
|
||||
|
||||
(package! flycheck-elm)
|
||||
(package! elm-mode)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue