JMarkin / nvim-tree.lua-float-preview

float preview for nvim-tree.lua
22 stars 3 forks source link

Colors not as expected #19

Closed svanharmelen closed 6 months ago

svanharmelen commented 6 months ago

When showing the preview, the styling is different the (for example) the styling of a telescope floating window. the main difference seems to be the background of the borders:

Actual:

image

Expected:

image

Any suggestion of how to "fix" that? Thanks!

JMarkin commented 6 months ago

@svanharmelen sorry I don't know how works telescope, but this plugin uses neovim api-win_config, I think section border can help you. You can modify window config in section opts.window or modify float window globally open_win_config return arguments for api-win_config too.

svanharmelen commented 6 months ago

Thanks for the pointer I will have a look 👍🏻