Add initial nvchad config
This commit is contained in:
22
nvim/lua/plugins/crates.lua
Normal file
22
nvim/lua/plugins/crates.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"saecki/crates.nvim",
|
||||
tag = "stable",
|
||||
event = { "BufRead Cargo.toml" },
|
||||
config = function()
|
||||
require("crates").setup{
|
||||
lsp = {
|
||||
enabled = true,
|
||||
actions = true,
|
||||
completion = true,
|
||||
hover = true,
|
||||
},
|
||||
completion = {
|
||||
crates = {
|
||||
enabled = true,
|
||||
max_results = 10,
|
||||
min_chars = 3,
|
||||
},
|
||||
}
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user