[gnome-software: 101/110] editorconfig: Add style for UI files




commit 4f50f1fe03312c20b045ce6c62884ba5d7dfd8b1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Oct 4 12:53:06 2021 +0100

    editorconfig: Add style for UI files
    
    UI files use two-space indenting instead of tabs, so split that out

 .editorconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.editorconfig b/.editorconfig
index def33bf5e..752ea66fe 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,6 +1,10 @@
 # See https://editorconfig.org/
 root = true
 
-[*]
+[*.{c,h}]
 indent_style = tab
 indent_size = 8
+
+[*.ui]
+indent_style = space
+indent_size = 2


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