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

@ -21,6 +21,7 @@
"oil.nvim": { "branch": "master", "commit": "24027ed8d7f3ee5c38cfd713915e2e16d89e79b3" },
"onedark.nvim": { "branch": "master", "commit": "c5476a091b0f1b4e853db91c91ff941f848a1cdd" },
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
"vim-fugitive": { "branch": "master", "commit": "46eaf8918b347906789df296143117774e827616" },

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 },
}