summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-03-11 01:06:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-04-12 10:53:43 -0500
commit6bef247759acbdc026624e78d0fd78297bc79501 (patch)
tree0b28be9ab403e67d042f74ae9d1d76d885486b18 /.dir-locals.el
parent15e84cbb18ff2e0423e20c3a620631c3ce97956c (diff)
downloadfork-ledger-6bef247759acbdc026624e78d0fd78297bc79501.tar.gz
fork-ledger-6bef247759acbdc026624e78d0fd78297bc79501.tar.bz2
fork-ledger-6bef247759acbdc026624e78d0fd78297bc79501.zip
Added .dir-locals.el
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el31
1 files changed, 31 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 00000000..4f6af924
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,31 @@
+((nil . ((tab-width . 2)
+ (sentence-end-double-space . t)
+ (fill-column . 8)
+ (bug-reference-url-format
+ . "http://bugs.ledger-cli.org/show_bug.cgi?id=%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 . ""))))))