module: add :lang dhall

Close #4791

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
Rudi Grinberg 2021-08-02 22:51:31 -07:00 committed by GitHub
parent 199fde526e
commit dd55ebb67a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

View file

@ -120,6 +120,7 @@
;;csharp ; unity, .NET, and mono shenanigans ;;csharp ; unity, .NET, and mono shenanigans
;;data ; config/data formats ;;data ; config/data formats
;;(dart +flutter) ; paint ui and not much else ;;(dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right ;;elixir ; erlang done right
;;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses

View file

@ -0,0 +1,12 @@
;;; lang/dhall/config.el -*- lexical-binding: t; -*-
(use-package! dhall-mode
:defer t
:config
(set-repl-handler! 'dhall-mode #'dhall-repl-show)
(setq dhall-format-at-save (featurep! :editor format +onsave))
(map! :map dhall-mode-map
:localleader
"l" #'dhall-lint
"f" #'dhall-freeze
"t" #'dhall-buffer-type-show))

View file

@ -0,0 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; lang/dhall/packages.el
(package! dhall-mode :pin "ad259c8a2292fb398dff1ce7d25c686edb02945d")