diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T04·13+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T04·13+0100 |
commit | 62c18c989890d5aebca5315f7bf7d8a367b0a87b (patch) | |
tree | 9be2ffc7ea59ec67608927efa87b87680fa0a22f /third_party/nix/.dir-locals.el | |
parent | 95a57f15ca795eb1b36363b7d6db6b88bfe444e2 (diff) |
fix(3p/nix): Set C++ style to "Google" in Emacs locals r/763
Diffstat (limited to 'third_party/nix/.dir-locals.el')
-rw-r--r-- | third_party/nix/.dir-locals.el | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/third_party/nix/.dir-locals.el b/third_party/nix/.dir-locals.el index 2d1117f4bda6..92aa816f100e 100644 --- a/third_party/nix/.dir-locals.el +++ b/third_party/nix/.dir-locals.el @@ -1,16 +1 @@ -((c++-mode . ( - (c-file-style . "k&r") - (c-basic-offset . 4) - (indent-tabs-mode . nil) - (tab-width . 4) - (show-trailing-whitespace . t) - (indicate-empty-lines . t) - (eval . (c-set-offset 'innamespace 0)) - (eval . (c-set-offset 'defun-open 0)) - (eval . (c-set-offset 'inline-open 0)) - (eval . (c-set-offset 'arglist-intro '+)) - (eval . (c-set-offset 'arglist-cont 0)) - (eval . (c-set-offset 'arglist-cont-nonempty '+)) - (eval . (c-set-offset 'substatement-open 0)) - (eval . (c-set-offset 'access-label '-)) - ))) +((c++-mode . ((c-file-style . "google")))) |