-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Eldev
39 lines (29 loc) · 1.21 KB
/
Eldev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
;; explicitly set main file
(setf eldev-project-main-file "vino.el")
(eldev-require-version "0.7.2")
(eldev-use-package-archive 'gnu)
(eldev-use-package-archive 'melpa-unstable)
;; allow to load test helpers
(eldev-add-loading-roots 'test "test/utils")
;; load dash.el
(eldev-add-extra-dependencies 'test 'dash)
;; Eldev-local is loaded after Eldev, meaning that it's impossible to
;; set this env per user.
(let ((path (expand-file-name "Developer/vulpea" (getenv "HOME"))))
(when (file-exists-p path)
(setenv "VULPEA_PATH" path)))
;; Use local version of VULPEA if it exists
(when-let ((vulpea-path (getenv "VULPEA_PATH")))
(eldev-use-local-dependency vulpea-path))
;; Tell checkdoc not to demand two spaces after a period.
(setq sentence-end-double-space nil)
;; Teach linter how to properly indent emacsql vectors
(eldev-add-extra-dependencies 'lint 'emacsql)
(add-hook 'eldev-lint-hook
(lambda ()
(eldev-load-project-dependencies 'lint nil t)
(require 'emacsql)
(call-interactively #'emacsql-fix-vector-indentation)))
;; Yup, we migrated long time ago. Thanks for the noise.
(setq-default org-roam-v2-ack t)