Skip to content

floating window style configuration #391

Answered by mrcjkb
LennyPhoenix asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

Rustaceanvim (and previously rust-tools.nvim) never honoured your floating window style preferences.
It used to override Neovim's default, and the override just happened to align with your preference 😅

It you want to have rounded borders, you can set vim.g.rustaceanvim.tools.float_win_config.border = 'rounded' (see :h rustaceanvim.config).

By default, rustaceanvim overrides the textDocument/hover handler to use the hover actions.
I'd have to check and see if it's possible to default to the built-in hover handler's border if one is set...
Edit: It's not possible, afaict.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LennyPhoenix
Comment options

@igorlfs
Comment options

@mrcjkb
Comment options

@igorlfs
Comment options

Answer selected by LennyPhoenix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants