Added basic agda support.
This commit is contained in:
parent
9e08620350
commit
b3a83daf5f
3 changed files with 21 additions and 0 deletions
9
modules/lang/agda/README.org
Normal file
9
modules/lang/agda/README.org
Normal file
|
@ -0,0 +1,9 @@
|
|||
#+TITLE: :lang agda
|
||||
|
||||
This module adds support for the [[http://wiki.portal.chalmers.se/agda/pmwiki.php][agda]] programming language.
|
||||
|
||||
Emacs support is included in the agda release (you can find installation
|
||||
instructions [[https://agda.readthedocs.io/en/latest/getting-started/installation.html][here]]). This module attempts to find the location of ~agda2.el~ via
|
||||
the ~agda-mode locate~ command that comes with the agda release. Users can set
|
||||
this manually by setting the ~+agda2-dir~ variable.
|
||||
|
7
modules/lang/agda/config.el
Normal file
7
modules/lang/agda/config.el
Normal file
|
@ -0,0 +1,7 @@
|
|||
;;; lang/agda/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +agda-dir (string-remove-suffix "/agda2.el" (shell-command-to-string "agda-mode locate")))
|
||||
|
||||
(def-package! agda2
|
||||
:load-path +agda-dir)
|
||||
|
5
modules/lang/agda/doctor.el
Normal file
5
modules/lang/agda/doctor.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||
;;; lang/agda/doctor.el
|
||||
|
||||
(unless (executable-find "agda-mode")
|
||||
(warn! "Couldn't find agda-mode. Agda support won't work"))
|
Loading…
Add table
Add a link
Reference in a new issue