From 619d38ad99a2338759c803888150485cb4805171 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Mon, 7 Dec 2020 15:24:25 -0300 Subject: [PATCH] add rustfmt.toml --- config.yaml | 4 ++++ dotfiles/rustfmt.toml | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 dotfiles/rustfmt.toml diff --git a/config.yaml b/config.yaml index 9c801ec..e33b009 100644 --- a/config.yaml +++ b/config.yaml @@ -355,6 +355,10 @@ dotfiles: # Just a bunch of paths and action mappings src: kak-lsp.toml dst: ~/.config/kak-lsp/kak-lsp.toml + rustfmt: + src: rustfmt.toml + dst: ~/.rustfmt.toml + ############################################################### # Big pahts diff --git a/dotfiles/rustfmt.toml b/dotfiles/rustfmt.toml new file mode 100644 index 0000000..dbd64e7 --- /dev/null +++ b/dotfiles/rustfmt.toml @@ -0,0 +1,9 @@ +# {{@@ header() @@}} # + +tab_spaces = 4 + +max_width = 80 + +{%@@ if tabs @@%} +hard_tabs = true +{%@@ endif @@%}