blob: 358248dbb84501d936516df9071723232240cb70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
return {
{
-- For debugging capabilities, need to change the config
-- from lspconfig into it's own thing, for more:
-- https://www.youtube.com/watch?v=mh_EJhH49Ms
'rust-lang/rust.vim',
ft = 'rust',
init = function()
vim.g.rustfmt_autosave = 1
end
},
{
'Saecki/crates.nvim',
ft = { 'rust', 'toml' },
config = function(_, opts)
local crates = require('crates')
crates.setup(opts)
crates.show()
end
},
}
|