Closed XXiaoA closed 2 years ago
@XXiaoA what plugin is that? On the latest Neovim nightly (v0.8.0-dev-1029-g05893aea3), :lua vim.ui.input({}, function() end)
doesn't open such popup. The input is in the command line bar, at the bottom:
Sorry, I forgot I installed dressing.nvim. But it used the standard highlight groups for neovim floating windows. See here.
OK thanks for double checking 👍
Maybe @sainnhe can confirm, but to me it seems like a conscious design decision for this theme:
Removing specific background styling makes the popup blend in, but as a result it also doesn't stand out from the main window:
The image (purple theme) you shared earlier does set the border background to the same color as the default background, but not in the center, so the result looks glitchy:
Adopting this style in Gruvbox Material looks equally glitchy in my opinion:
Out of these 3 variants, I personally find the current style the most readable while working with floating popups.
For the time being, my suggestion would be to apply local customisations using autocmd
to tailor the look and feel of floating popups to your needs:
Okay, it does maybe a design for this colorscheme. I'll try use autocmd to configure it.
Hi, the autocmd works perfectly, thanks. I just want to report that for the autocompletion panel with borders, it has the same behavior. Also, in the Harpoon pop-up panel, if you go to visual mode, you can't see the text selection area; the colors are the same.
I have done the following steps before reporting this issue:
Operating system/version
Ubuntu 22.04
Terminal emulator/version
Wezterm
$TERM environment variable
xterm-256color
Tmux version
No response
Feature matrix
Minimal vimrc that can reproduce this bug.
use gruvbox_material without other configuration
Steps to reproduce this bug using minimal vimrc
run
:lua vim.ui.input({}, function() end)
in neovimExpected behavior
a float win wich a normal border
Actual behavior
something wrong of border. the color around border should be same as background