zsh-workers
 help / color / mirror / code / Atom feed
From: Aaron Schrab <aaron@schrab.com>
To: zsh-workers@zsh.org
Subject: [PATCH] Add .editorconfig file
Date: Sat, 29 Sep 2012 10:23:15 -0400	[thread overview]
Message-ID: <1348928595-23928-1-git-send-email-aaron@schrab.com> (raw)

Add .editorconfig file following http://editorconfig.org/ to specify
some formatting settings.  Plugins to honor this file are available for
many text editors.
---
 .editorconfig |    9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..58421c0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true  # Top-most editorconfig file
+
+[*]
+end_of_line = lf
+tab_width   = 8
+indent_size = 2
+
+[*.[ch]]
+indent_size = 4
-- 
1.7.10.4


                 reply	other threads:[~2012-09-29 14:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348928595-23928-1-git-send-email-aaron@schrab.com \
    --to=aaron@schrab.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).