From a0c2a62c270511b0e74c35b59162a6384b0d456d Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Sun, 16 Jun 2019 02:08:48 +0200 Subject: [PATCH] Add .editorconfig This file tells the github online editor to use tabs of width 4 instead of 8. Open [this](https://github.com/JohannesLorenz/github_test/blob/master/test.cpp) test file in your browser to see how it works (the width is 5 in the example). Actually, it also tells many other editors... --- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..2d4a9f975 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +root = true + +[*] +indent_style = tab +tab_width = 4