[postgis-tickets] r14823 - First pass of style tweaks

Sandro Santilli strk at keybit.net
Wed Apr 6 01:43:16 PDT 2016


Author: strk
Date: 2016-04-06 01:43:15 -0700 (Wed, 06 Apr 2016)
New Revision: 14823

Modified:
   trunk/.editorconfig
Log:
First pass of style tweaks

Use space indent by default, tabs for Makefiles and C sources.
Add comments

Modified: trunk/.editorconfig
===================================================================
--- trunk/.editorconfig	2016-04-06 08:43:09 UTC (rev 14822)
+++ trunk/.editorconfig	2016-04-06 08:43:15 UTC (rev 14823)
@@ -1,8 +1,19 @@
 # http://editorconfig.org
 
+# top-most EditorConfig file
 root = true
 
+# these are the defaults
 [*]
 charset = utf-8
 end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# C files want tab indentation
+[*.{c,h}]
 indent_style = tab
+
+# Makefiles want tab indentation
+[{Makefile.in,Makefile,GNUmakefile.in}]
+indent_style = tab



More information about the postgis-tickets mailing list