mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/elm: first attempt
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user