diff --git a/config.yaml b/config.yaml index bb6110b..8a62efc 100644 --- a/config.yaml +++ b/config.yaml @@ -356,6 +356,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 @@%}