Add rustaceanvim
This commit is contained in:
parent
7d2d02c078
commit
7a5f01f774
1 changed files with 22 additions and 0 deletions
22
nvim/lua/plugs/rustaceanvim.lua
Normal file
22
nvim/lua/plugs/rustaceanvim.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
"mrcjkb/rustaceanvim",
|
||||
version = "^4",
|
||||
ft = { "rust" },
|
||||
config = function()
|
||||
vim.g.rustaceanvim = {
|
||||
inlay_hints = {
|
||||
highlight = "NonText",
|
||||
},
|
||||
tools = {
|
||||
hover_actions = {
|
||||
auto_focus = true,
|
||||
},
|
||||
},
|
||||
server = {
|
||||
on_attach = function(_, bufnr)
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
end,
|
||||
}
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue