Skip to content

Commit

Permalink
Add a .dir-locals.el
Browse files Browse the repository at this point in the history
That's basically project-level configuration for Emacs users. As I keep my
fill-column set to 80 by default, it's useful for me to change it here.
  • Loading branch information
bbatsov committed May 21, 2020
1 parent c7fe5da commit 2a57489
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .dir-locals.el
@@ -0,0 +1,12 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((ruby-mode
(bug-reference-url-format . "https://github.com/rubocop-hq/rubocop/issues/%s")
(bug-reference-bug-regexp . "#\\(?2:[[:digit:]]+\\)")
(indent-tabs-mode . nil)
(fill-column . 100)))

;; To use the bug-reference stuff, do:
;; (add-hook 'text-mode-hook #'bug-reference-mode)
;; (add-hook 'prog-mode-hook #'bug-reference-prog-mode)

0 comments on commit 2a57489

Please sign in to comment.