Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O que acha de configurar o rustfmt de forma mais especifica? #2

Open
GChicha opened this issue Sep 24, 2018 · 0 comments
Open

O que acha de configurar o rustfmt de forma mais especifica? #2

GChicha opened this issue Sep 24, 2018 · 0 comments

Comments

@GChicha
Copy link
Collaborator

GChicha commented Sep 24, 2018

max_width = 80
tab_spaces = 4
report_todo = "Unnumbered"
report_fixme = "Unnumbered" 
trailing_comma = "Always"
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = true

Só tem de observar que o vim-autoformat não é exatamente compativel tem de colocar umas opções no vimrc para ficar massa

let g:autoformat_autoindent = 0
let g:autoformat_retab = 0
let g:autoformat_remove_trailing_spaces = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant