File: .dir-locals.el

package info (click to toggle)
ledger 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,540 kB
  • sloc: cpp: 37,485; python: 4,186; perl: 1,319; sh: 475; lisp: 435; yacc: 103; makefile: 61
file content (36 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (3)
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
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((nil
  (tab-width . 2)
  (sentence-end-double-space . t)
  (bug-reference-url-format . "https://github.com/ledger/ledger/issues/%s"))
 (c-mode
  (c-file-style . "ledger")
  (c-style-alist
   ("ledger"
    (indent-tabs-mode)
    (c-basic-offset . 2)
    (c-comment-only-line-offset 0 . 0)
    (c-hanging-braces-alist
     (substatement-open before after)
     (arglist-cont-nonempty))
    (c-offsets-alist
     (statement-block-intro . +)
     (knr-argdecl-intro . 5)
     (substatement-open . 0)
     (substatement-label . 0)
     (label . 0)
     (case-label . 0)
     (statement-case-open . 0)
     (statement-cont . +)
     (arglist-intro . +)
     (arglist-close . +)
     (inline-open . 0)
     (brace-list-open . 0)
     (topmost-intro-cont first c-lineup-topmost-intro-cont c-lineup-gnu-DEFUN-intro-cont))
    (c-special-indent-hook . c-gnu-impose-minimum)
    (c-block-comment-prefix . ""))))
 (emacs-lisp-mode
  (indent-tabs-mode . nil)))