aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-12-11 12:44:13 +0000
committerDaniel Müller <d-e-s-o@users.noreply.github.com>2018-12-11 17:26:08 -0800
commitcae0be5b2d8e45433d24b03698a9839bea9b2dbc (patch)
tree04334b4a64ac35cd54027a8a4d3f965ab20f13c3
parent8898de1f97aff9965e1518ca5abb554275183a14 (diff)
downloadnitrocli-cae0be5b2d8e45433d24b03698a9839bea9b2dbc.tar.gz
nitrocli-cae0be5b2d8e45433d24b03698a9839bea9b2dbc.tar.bz2
Add rustfmt configuration
rustfmt uses four-space indentation per default. This patch adds a configuration file that sets the indentation with to two spaces.
-rw-r--r--nitrocli/rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/nitrocli/rustfmt.toml b/nitrocli/rustfmt.toml
new file mode 100644
index 0000000..b196eaa
--- /dev/null
+++ b/nitrocli/rustfmt.toml
@@ -0,0 +1 @@
+tab_spaces = 2