we don't need to remove autoformat group when there is none (#748)

This commit is contained in:
Abouzar Parvan 2021-07-07 10:58:50 +04:30 committed by GitHub
parent e237f26cc6
commit a72d5b70de
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,3 @@ if O.format_on_save then
},
}
end
if not O.format_on_save then
vim.cmd ":autocmd! autoformat"
end