Reworked config using chezmoi
This commit is contained in:
19
dot_config/nvim/lua/plugins/crates.lua
Normal file
19
dot_config/nvim/lua/plugins/crates.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
"saecki/crates.nvim",
|
||||
event = { "BufRead Cargo.toml" },
|
||||
opts = {
|
||||
lsp = {
|
||||
enabled = true,
|
||||
actions = true,
|
||||
completion = true,
|
||||
hover = true,
|
||||
},
|
||||
completion = {
|
||||
crates = {
|
||||
enabled = true,
|
||||
max_results = 10,
|
||||
min_chars = 3,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user