Remove grapqhl, fixes #387

This commit is contained in:
Adam Stankiewicz
2019-03-29 20:30:36 +01:00
parent 1d45a6d4f0
commit a55b6aa3aa
25 changed files with 518 additions and 565 deletions

View File

@@ -234,6 +234,9 @@ function! rustfmt#Cmd()
endfunction
function! rustfmt#PreWrite()
if !filereadable(expand("%@"))
return
endif
if rust#GetConfigVar('rustfmt_autosave_if_config_present', 0)
if findfile('rustfmt.toml', '.;') !=# '' || findfile('.rustfmt.toml', '.;') !=# ''
let b:rustfmt_autosave = 1