.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
commitfec309aee46c7faa53fd05fcab5e2dcc1bd03f05
authorMatthew Bauer <mjbauer95@gmail.com>
dateFri 6 Jul 2018, 11:54 (8 years ago)
parent7835d7c
.dir-locals.elnew file+8
@@ -0,0 +1,8 @@
1+;;; Directory Local Variables
2+;;; For more information see (info "(emacs) Directory Variables")
3+
4+((nil
5+ (bug-reference-bug-regexp . "\\(\\(?:[Ii]ssue \\|[Ff]ixe[ds] \\|[Rr]esolve[ds]? \\|[Cc]lose[ds]? \\|[Pp]\\(?:ull [Rr]equest\\|[Rr]\\) \\|(\\)#\\([0-9]+\\))?\\)")
6+ (bug-reference-url-format . "https://github.com/NixOS/nixpkgs/issues/%s"))
7+ (nix-mode
8+ (tab-width . 2)))