This commit is contained in:
Adam Stankiewicz
2016-07-30 13:18:40 +02:00
parent f42e1f477c
commit ab61d2ac8e
14 changed files with 368 additions and 537 deletions

View File

@@ -195,6 +195,11 @@ let b:undo_ftplugin = "
" }}}1
" Code formatting on save
if get(g:, "rustfmt_autosave", 0)
autocmd BufWritePre *.rs call rustfmt#Format()
endif
augroup END
let &cpo = s:save_cpo