Open Lisieshy opened 1 year ago
I'm getting the same in neovim 0.8
same here in neovim 0.8
Is there any guaranteed reproduction? Seems to work fine for me
Natively, to configure auto_focus
, you wanna move tools
outside of your opts
:
require("rust-tools").setup({
...
tools = {
hover_actions = {
auto_focus = true,
},
},
})
Perhaps AstroNvim is not respecting this structure?
I'm currently using AstroNvim Version v2.4.2.
My issue is that the auto_focus option doesn't do anything. I still have to call RustHoverActions twice for it to focus in the hover window.
I configured the rust-tools plugin using the official AstroNvim Documentation and added the tools.hover_actions.auto_focus to true.
Here is a snippet of my config (config.plugins.init)
Did I forget anything in the setup process ?