Add dhall config

This commit is contained in:
Maciej 2023-07-14 21:35:51 +03:00
parent 0942816867
commit 781b4c3095
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 45 additions and 26 deletions

17
lang/dhall.el Normal file
View file

@ -0,0 +1,17 @@
;;; dhall -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require '+custom-pkg-prog-mode "$HOME/.emacs.d/pkg/prog-mode.el")
(use-package dhall-mode :straight t :defer t)
(defun +custom-lang-dhall/activate-dhall-mode ()
"Reconfigure dhall mode for your own purposes."
(lsp))
(add-hook 'dhall-mode-hook '+custom-lang-dhall/activate-dhall-mode)
(add-hook 'dhall-mode-hook 'display-line-numbers-mode)
(provide '+custom-lang-dhall)
;;; dhall.el ends here