diff --git a/nvim/lua/plugs/rustaceanvim.lua b/nvim/lua/plugs/rustaceanvim.lua index ba13dbf..5b97f1f 100644 --- a/nvim/lua/plugs/rustaceanvim.lua +++ b/nvim/lua/plugs/rustaceanvim.lua @@ -10,10 +10,26 @@ return { tools = { hover_actions = { auto_focus = true, + replace_builtin_hover = true, }, }, server = { on_attach = require("lsplib").configure_generic_client, + default_settings = { + ["rust-analyzer"] = { + inlayHints = { + chainingHints = true, + parameterHints = true, + typeHints = true, + }, + diagnostics = { + enable = true, + experimental = { + enable = true, + }, + }, + }, + }, } } end,