simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 158 forks source link

Is there any way to change border color for hover_action? #310

Closed alekspickle closed 1 year ago

alekspickle commented 1 year ago

Right now I experience this

Screenshot_20230105_113029

As you see it kinda chaotic

akozlev commented 1 year ago

My assumption is that this is caused by your colorscheme.

You should be able to change the background of the float with

 " using vimscript
 hi NormalFloat guibg=#123456
-- using lua
vim.api.nvim_set_hl(0, 'NormalFloat', {bg='#123456'})

or alternatively link to an existing highlight group

" using vimscript
hi link NormalFloat Visual
-- using lua
vim.api.nvim_set_hl(0, 'NormalFloat', {link='Visual'})

I recommend looking through your colorscheme highlight groups and picking from there. 😉

alekspickle commented 1 year ago

It's a standard dracula theme, but I see what you mean. I think I'll manage. I just a bit new to all this vim/nvim configuration and already delved in it more than I'd like to.

Anyway thx for answer and a plugin, man!