Add basic idris support
This commit is contained in:
parent
9e08620350
commit
a2c1a62cd6
3 changed files with 24 additions and 0 deletions
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)
|
Loading…
Add table
Add a link
Reference in a new issue