[postgis-tickets] r15413 - Request tab indentation by default for SQL files

Sandro Santilli strk at kbt.io
Mon May 29 11:16:59 PDT 2017


Author: strk
Date: 2017-05-29 11:16:59 -0700 (Mon, 29 May 2017)
New Revision: 15413

Modified:
   trunk/.editorconfig
Log:
Request tab indentation by default for SQL files

Still keep sfcgal.sql and topology SQL files with spaces, to
reflect the current state.

See #3767

Modified: trunk/.editorconfig
===================================================================
--- trunk/.editorconfig	2017-05-29 18:07:55 UTC (rev 15412)
+++ trunk/.editorconfig	2017-05-29 18:16:59 UTC (rev 15413)
@@ -17,6 +17,10 @@
 [*.{c,h}]
 indent_style = tab
 
+# SQL files want tab indentation
+[*.{sql,sql.in}]
+indent_style = tab
+
 # topology C files want space indentation
 [topology/*.{c,h}]
 indent_style = space
@@ -29,6 +33,10 @@
 [topology/**.{sql,sql.in}]
 indent_style = space
 
+# postgis/sfcgal.sql.in wants space indentation
+[postgis/sfcgal.sql.in]
+indent_style = space
+
 # Makefiles want tab indentation
 [{Makefile.in,Makefile,GNUmakefile.in}]
 indent_style = tab



More information about the postgis-tickets mailing list