rust auto format on save

This commit is contained in:
geremia 2024-02-02 00:17:20 +01:00
parent 92a3580b73
commit 858ee9b7d3
2 changed files with 12 additions and 2 deletions

View file

@ -2,4 +2,12 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
{
"rust-lang/rust.vim",
ft = "rust",
init = function ()
vim.g.rustfmt_autosave = 1
end
},
}