mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix(blink.cmp): set BlinkCmpDoc background to palette.highlight_low
Although the default of `NormalFloat` is a sensible value for the documentation float, it has the same highlight as `Pmenu`, which means that on narrow displays where the documentation window is shown below the completion menu, it is not always clear where the completion items end and where the documentation begins. Setting the highlight to `palette.highlight_low` (compared to the default of `palette.surface`) adds a visual cue to separate the completion menu from the documentation window, without straying too much from the defaults.
This commit is contained in:
parent
48ea814177
commit
f607d0df3e
1 changed files with 2 additions and 0 deletions
|
|
@ -977,6 +977,8 @@ local function set_highlights()
|
|||
AvanteReversedThirdTitle = { fg = palette.iris },
|
||||
|
||||
-- Saghen/blink.cmp
|
||||
BlinkCmpDoc = { bg = palette.highlight_low },
|
||||
BlinkCmpDocSeparator = { bg = palette.highlight_low },
|
||||
BlinkCmpDocBorder = { fg = palette.highlight_high },
|
||||
BlinkCmpGhostText = { fg = palette.muted },
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue