diff options
author | thdox <thdox@free.fr> | 2015-02-08 16:34:27 +0100 |
---|---|---|
committer | thdox <thdox@free.fr> | 2015-02-10 21:42:44 +0100 |
commit | f8dd075e25fae467ad13776eb366a8eb4799f68a (patch) | |
tree | c09f217b52253f8c486f2ae376e61796d3d58cfa | |
parent | bc487be14bd1a79cbbedb9203921b357ced79ef7 (diff) | |
download | fork-ledger-f8dd075e25fae467ad13776eb366a8eb4799f68a.tar.gz fork-ledger-f8dd075e25fae467ad13776eb366a8eb4799f68a.tar.bz2 fork-ledger-f8dd075e25fae467ad13776eb366a8eb4799f68a.zip |
[emacs] M-x add-dir-local-variable RET emacs-lisp-mode RET indent-tabs-mode RET nil RET
[ci skip]
-rw-r--r-- | .dir-locals.el | 66 |
1 files changed, 36 insertions, 30 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index edafaded..ca104fb0 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,30 +1,36 @@ -((nil . ((tab-width . 2) - (sentence-end-double-space . t) - (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 . "")))))) +;;; Directory Local Variables +;;; For more information see (info "(emacs) Directory Variables") + +((nil + (tab-width . 2) + (sentence-end-double-space . t) + (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 . "")))) + (emacs-lisp-mode + (indent-tabs-mode))) + |