]> granicus.if.org Git - postgis/commitdiff
Request tab indentation by default for SQL files
authorSandro Santilli <strk@kbt.io>
Mon, 29 May 2017 18:16:59 +0000 (18:16 +0000)
committerSandro Santilli <strk@kbt.io>
Mon, 29 May 2017 18:16:59 +0000 (18:16 +0000)
Still keep sfcgal.sql and topology SQL files with spaces, to
reflect the current state.

See #3767

git-svn-id: http://svn.osgeo.org/postgis/trunk@15413 b70326c6-7e19-0410-871a-916f4a2858ee

.editorconfig

index ccbdfd0cdc76ea5af2195d9c2ef8ed6ba97d6146..eccd28ed447f54f68b98967c3292e2d399c716f5 100644 (file)
@@ -17,6 +17,10 @@ trim_trailing_whitespace = false
 [*.{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 @@ indent_style = space
 [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