zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Add .editorconfig file
@ 2012-09-29 14:23 Aaron Schrab
  0 siblings, 0 replies; only message in thread
From: Aaron Schrab @ 2012-09-29 14:23 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-29 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-29 14:23 [PATCH] Add .editorconfig file Aaron Schrab

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).