-
Notifications
You must be signed in to change notification settings - Fork 27
/
.dir-locals.el
40 lines (38 loc) · 1.88 KB
/
.dir-locals.el
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
40
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode
(bug-reference-url-format . "https://github.com/clojure-emacs/sayid/issues/%s")
(bug-reference-bug-regexp . "#\\(?2:[[:digit:]]+\\)")
(indent-tabs-mode . nil)
(fill-column . 80)
(sentence-end-double-space . t)
(emacs-lisp-docstring-fill-column . 75)
(checkdoc-symbol-words . ("top-level" "major-mode" "macroexpand-all" "print-level" "print-length"))
(checkdoc-package-keywords-flag)
(checkdoc-arguments-in-order-flag)
(checkdoc-verb-check-experimental-flag)
(elisp-lint-indent-specs . ((if-let* . 2)
(when-let* . 1)
(let* . defun)
(nrepl-dbind-response . 2)
(cider-save-marker . 1)
(cider-propertize-region . 1)
(cider-map-repls . 1)
(cider--jack-in . 1)
(cider--make-result-overlay . 1)
;; need better solution for indenting cl-flet bindings
(multiline-comment-handler . defun) ;; cl-flet
(insert-label . defun) ;; cl-flet
(insert-align-label . defun) ;; cl-flet
(insert-rect . defun) ;; cl-flet
(cl-defun . 2)
(with-parsed-tramp-file-name . 2)
(thread-first . 1)
(thread-last . 1))))
(clojure-mode
(clojure-indent-style . :always-align)
(indent-tabs-mode . nil)
(fill-column . 80)))
;; To use the bug-reference stuff, do:
;; (add-hook 'text-mode-hook #'bug-reference-mode)
;; (add-hook 'prog-mode-hook #'bug-reference-prog-mode)