Commit 04cb9094 authored by Anders Bakken's avatar Anders Bakken Committed by Daniel Stenberg
Browse files

Add .dir-locals and set c-basic-offset to 2.

This makes it easier for emacs users to automatically get the right
2-space indentation when they edit curl source files.

c++-mode is in there as well because Emacs can't easily know if
something is a C or C++ header.

Closes #574
parent c208c783
Loading
Loading
Loading
Loading

.dir-locals.el

0 → 100644
+10 −0
Original line number Diff line number Diff line
;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.

((nil . ((indent-tabs-mode . nil)
         (show-trailing-whitespace . t)))
 (c-mode . ((c-basic-offset . 2)
            ))
 (c++-mode . ((c-basic-offset . 2)
              ))
 )