aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/.dir-locals.el')
-rw-r--r--plugins/.dir-locals.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/.dir-locals.el b/plugins/.dir-locals.el
new file mode 100644
index 000000000..4e8830f6c
--- /dev/null
+++ b/plugins/.dir-locals.el
@@ -0,0 +1,4 @@
+((coq-mode . ((eval . (let ((default-directory (locate-dominating-file
+ buffer-file-name ".dir-locals.el")))
+ (setq-local coq-prog-args `("-coqlib" ,(expand-file-name "..") "-R" ,(expand-file-name ".") "Coq"))
+ (setq-local coq-prog-name (expand-file-name "../bin/coqtop")))))))