add support crates.nvim

This commit is contained in:
Zoty 2026-04-13 16:08:21 -03:00
parent bf3e4855b9
commit 7b3220b36d
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
3 changed files with 30 additions and 2 deletions

17
lua/plugins/crates.lua Normal file
View file

@ -0,0 +1,17 @@
return {
'Saecki/crates.nvim',
event = { 'BufRead Cargo.toml' },
opts = {
completion = {
crates = {
enabled = true,
},
},
lsp = {
enabled = true,
actions = true,
completion = true,
hover = true,
},
},
}