add rustfmt.toml

This commit is contained in:
lelgenio 2020-12-07 15:24:25 -03:00
parent 1ae8f81bd4
commit 619d38ad99
2 changed files with 13 additions and 0 deletions

View File

@ -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

9
dotfiles/rustfmt.toml Normal file
View File

@ -0,0 +1,9 @@
# {{@@ header() @@}} #
tab_spaces = 4
max_width = 80
{%@@ if tabs @@%}
hard_tabs = true
{%@@ endif @@%}