add support crates.nvim
This commit is contained in:
parent
bf3e4855b9
commit
7b3220b36d
3 changed files with 30 additions and 2 deletions
17
lua/plugins/crates.lua
Normal file
17
lua/plugins/crates.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue