mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add basic idris support
This commit is contained in:
3
modules/lang/idris/README.org
Normal file
3
modules/lang/idris/README.org
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#+TITLE: :lang idris
|
||||||
|
|
||||||
|
Adds support for the [[https://www.idris-lang.org/][idris]] programming language.
|
17
modules/lang/idris/config.el
Normal file
17
modules/lang/idris/config.el
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
;;; lang/idris/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(def-package! idris-mode
|
||||||
|
:config
|
||||||
|
(add-hook! 'idris-mode-hook 'turn-on-idris-simple-indent)
|
||||||
|
(set-repl-handler! 'idris-mode 'idris-pop-to-repl)
|
||||||
|
(map! :map idris-mode-map
|
||||||
|
:localleader
|
||||||
|
:n "r" #'idris-load-file
|
||||||
|
:n "t" #'idris-type-at-point
|
||||||
|
:n "d" #'idris-add-clause
|
||||||
|
:n "l" #'idris-make-lemma
|
||||||
|
:n "c" #'idris-case-split
|
||||||
|
:n "w" #'idris-make-with-block
|
||||||
|
:n "m" #'idris-add-missing
|
||||||
|
:n "p" #'idris-proof-search
|
||||||
|
:n "h" #'idris-docs-at-point))
|
4
modules/lang/idris/packages.el
Normal file
4
modules/lang/idris/packages.el
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
;; -*- no-byte-compile: t; -*-
|
||||||
|
;;; lang/idris/packages.el
|
||||||
|
|
||||||
|
(package! idris-mode)
|
Reference in New Issue
Block a user