include rust autoformatting on save

This commit is contained in:
Nick Burt 2023-12-18 19:20:55 -06:00
parent 05984d51eb
commit 9eb34622d7
2 changed files with 11 additions and 0 deletions

View file

@ -1,6 +1,16 @@
return {
-- File Browser
{ 'stevearc/oil.nvim' },
-- Rust Format on Save
{
'rust-lang/rust.vim',
ft = "rust",
init = function ()
vim.g.rustfmt_autosave = 1
end
},
-- Theme
{ 'catppuccin/nvim', name='catppuccin', priority = 1000 },
}