Skip to content
Snippets Groups Projects
Commit eeb665f5 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Don't wrap rustfmt comments by default

parent 45a898ef
No related branches found
No related tags found
No related merge requests found
......@@ -839,7 +839,10 @@ syntax on
" RUST related settings
let g:rustfmt_autosave = 0
let g:rustfmt_command = "rustup run nightly rustfmt"
let g:rustfmt_options = "--config merge_derives=false,tab_spaces=4,use_field_init_shorthand=true,use_try_shorthand=true,wrap_comments=true"
" Regular
let g:rustfmt_options = "--config merge_derives=false,tab_spaces=4,use_field_init_shorthand=true,use_try_shorthand=true"
" Atsamd
"let g:rustfmt_options = "--config merge_derives=false,tab_spaces=4,use_field_init_shorthand=true,use_try_shorthand=true,wrap_comments=true"
" Run rustfmt on keypress
nmap <F9> :RustFmt<CR>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment