[gnome-builder] lang-defaults: tweak some defaults



commit aa5b41b8fc692141aa53c35533d4b80c4ec66bd5
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 3 15:23:32 2016 -0800

    lang-defaults: tweak some defaults
    
    We still should get this into layered gsettings, but a little bit late
    to do that in this cycle.

 data/file-settings/defaults.ini |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/data/file-settings/defaults.ini b/data/file-settings/defaults.ini
index 61b766d..fca9660 100644
--- a/data/file-settings/defaults.ini
+++ b/data/file-settings/defaults.ini
@@ -7,7 +7,7 @@
 # "all languages" default value will get that setting overridden. A potential
 # alternative is to layer backends, which is out of scope at the moment.
 [global]
-version = 2
+version = 3
 
 [automake]
 insert-spaces-instead-of-tabs = false
@@ -42,12 +42,23 @@ insert-matching-brace = true
 overwrite-braces = true
 
 [css]
+# See https://medium.com/firefox-developer-tools/detecting-code-indentation-eff3ed0fb56b
 insert-spaces-instead-of-tabs = true
-tab-width = 4
+tab-width = 2
+insert-matching-brace = true
+overwrite-braces = true
+
+[html]
+# See https://medium.com/firefox-developer-tools/detecting-code-indentation-eff3ed0fb56b
+insert-spaces-instead-of-tabs = true
+tab-width = 2
+insert-matching-brace = true
+overwrite-braces = true
 
 [js]
+# See https://medium.com/firefox-developer-tools/detecting-code-indentation-eff3ed0fb56b
 insert-spaces-instead-of-tabs = true
-tab-width = 4
+tab-width = 2
 insert-matching-brace = true
 overwrite-braces = true
 
@@ -74,6 +85,7 @@ insert-matching-brace = true
 overwrite-braces = true
 
 [ruby]
+# See https://medium.com/firefox-developer-tools/detecting-code-indentation-eff3ed0fb56b
 insert-spaces-instead-of-tabs = true
 tab-width = 2
 insert-matching-brace = true
@@ -89,3 +101,5 @@ overwrite-braces = true
 insert-spaces-instead-of-tabs = true
 tab-width = 2
 auto-indent = true
+insert-matching-brace = true
+overwrite-braces = true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]