summary refs log tree commit diff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-06 11:54:21 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-07-06 12:48:43 -0400
commitfec309aee46c7faa53fd05fcab5e2dcc1bd03f05 (patch)
treeaa87e27a1640042a0690c7cb875f307abc84aba8 /.dir-locals.el
parent7835d7c74f369ff4f435f4276d4328d26ce34b0d (diff)
.dir-locals.el: init
This adds some initial values for .dir-locals.el. Mainly this is
useful for using bug-reference-mode.

So if you have bug-reference-mode enabled -

> M-x bug-reference-mode

You will see as clickable text like this:

  Fixes #15

  (#12)

  Closed #1252

  issue #1
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000000000..a53c8aa6db54f
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,8 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil
+  (bug-reference-bug-regexp . "\\(\\(?:[Ii]ssue \\|[Ff]ixe[ds] \\|[Rr]esolve[ds]? \\|[Cc]lose[ds]? \\|[Pp]\\(?:ull [Rr]equest\\|[Rr]\\) \\|(\\)#\\([0-9]+\\))?\\)")
+  (bug-reference-url-format . "https://github.com/NixOS/nixpkgs/issues/%s"))
+ (nix-mode
+  (tab-width . 2)))