mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 11:09:29 +00:00
Add Elm support
This commit is contained in:
parent
302eed075c
commit
142555a58a
1 changed files with 14 additions and 0 deletions
|
@ -241,6 +241,20 @@ A strongly typed, pure functional language.
|
||||||
:commands turn-on-hi2
|
:commands turn-on-hi2
|
||||||
:init (add-hook 'haskell-mode-hook 'turn-on-hi2))
|
:init (add-hook 'haskell-mode-hook 'turn-on-hi2))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** Elm
|
||||||
|
A functional, reactive language for the web that compiles to
|
||||||
|
JavaScript.
|
||||||
|
|
||||||
|
#+name: programming
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package elm-mode
|
||||||
|
:ensure t
|
||||||
|
:mode "\.elm$"
|
||||||
|
:config
|
||||||
|
(add-hook 'elm-mode-hook #'elm-oracle-setup-completion)
|
||||||
|
(add-to-list 'company-backends 'company-elm))
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
*** Web
|
*** Web
|
||||||
**** HTML
|
**** HTML
|
||||||
#+name: programming
|
#+name: programming
|
||||||
|
|
Loading…
Reference in a new issue