diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-19 15:18:11 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-19 15:18:11 -0700 |
commit | 5bc9ff371dfc02c786071cbc0f3116251f34f2f5 (patch) | |
tree | 0fecf554017e6080df4dba2144d4c8f56c4f9ed9 /.dir-locals.el | |
parent | 4379773a9e47121244d5091c1b4704ccf23b6ecd (diff) | |
download | sshfs-5bc9ff371dfc02c786071cbc0f3116251f34f2f5.tar sshfs-5bc9ff371dfc02c786071cbc0f3116251f34f2f5.tar.gz sshfs-5bc9ff371dfc02c786071cbc0f3116251f34f2f5.tar.bz2 sshfs-5bc9ff371dfc02c786071cbc0f3116251f34f2f5.zip |
Added .dir-locals.el to setup correct indentation in Emacs
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..a9d100f --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,25 @@ +((python-mode . ((indent-tabs-mode . nil))) + (autoconf-mode . ((indent-tabs-mode . t))) + (c-mode . ((c-file-style . "stroustrup") + (indent-tabs-mode . t) + (tab-width . 8) + (c-basic-offset . 8) + (c-file-offsets . + ((block-close . 0) + (brace-list-close . 0) + (brace-list-entry . 0) + (brace-list-intro . +) + (case-label . 0) + (class-close . 0) + (defun-block-intro . +) + (defun-close . 0) + (defun-open . 0) + (else-clause . 0) + (inclass . +) + (label . 0) + (statement . 0) + (statement-block-intro . +) + (statement-case-intro . +) + (statement-cont . +) + (substatement . +) + (topmost-intro . 0)))))) |