From 3b9aebf13bf28266e1e43d421a9f6400aa25d076 Mon Sep 17 00:00:00 2001
From: Martin Weinelt <martin@darmstadt.freifunk.net>
Date: Mon, 7 Sep 2020 15:09:51 +0200
Subject: [PATCH] .editorconfig: bunch of additions

Formats:
- Restructured Text
- JSON
- MarkDown

Specific Files:
- .ecrc
- CMakeLists.txt

Ignore:
- /patches/ directory, we will not be editing foreign patches for their
  indentation
---
 .editorconfig | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/.editorconfig b/.editorconfig
index 3581b1685..5174a187e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,10 +7,30 @@ insert_final_newline = true
 indent_style = tab
 charset = utf-8
 
-[*.yml]
+[/patches/**]
+indent_style = unset
+indent_size = unset
+
+[*{.json,.ecrc}]
 indent_style = space
 indent_size = 2
 
+[*.md]
+indent_style = space
+indent_size = 4
+
 [*.py]
 indent_style = space
 indent_size = 4
+
+[*.rst]
+indent_style = space
+indent_size = 3
+
+[*.yml]
+indent_style = space
+indent_size = 2
+
+[CMakeLists.txt]
+indent_style = space
+indent_size = 2
-- 
GitLab