From ecace8d7ca8da10f25019b7e456a824c6324a326 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sat, 10 Apr 2021 06:18:25 +0200 Subject: [PATCH] Add .editorconfig file for Rust indentation While most editors use the standard 4-space indentation for Rust code, this project uses two spaces. To make it easier to write code according to the project style, this patch adds an .editorconfig file that specifies the indentation rules. --- .editorconfig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..8d897d00 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +# .editorconfig + +# Copyright (C) 2021 The Nitrocli Developers +# SPDX-License-Identifier: GPL-3.0-or-later + +[*.rs] +indent_size = 2