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

@ -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))