include rust autoformatting on save
This commit is contained in:
parent
05984d51eb
commit
9eb34622d7
2 changed files with 11 additions and 0 deletions
|
|
@ -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 },
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue