Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color readability issues with blink.cmp #143

Open
radutomy opened this issue Oct 21, 2024 · 1 comment
Open

Color readability issues with blink.cmp #143

radutomy opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@radutomy
Copy link

radutomy commented Oct 21, 2024

Description

I'm using cyberdream with blink.cmp https://github.com/Saghen/blink.cmp
however, I'm having issues in terms of color readability.

image
image

While I can manually override BlinkCmpMenu and BlinkCmpDoc, I would prefer if the colors were readable out of the box. I have no issues with this exact configuration if using nvim-cmp

Neovim version?

0.10.2

What should happen?

No response

What happened instead?

.

Your configuration

"scottmckendry/cyberdream.nvim",
lazy = false,
priority = 1000,
config = function()
	require("cyberdream").setup({
		theme = {
			overrides = function(colors)
				return {
					Comment = { fg = colors.grey, bg = "NONE", italic = true }, -- Grey color for comments
					Keyword = { fg = colors.blue, bg = "NONE" }, -- Blue for keywords
					String = { fg = colors.orange, bg = "NONE" }, -- Orange for strings
					Type = { fg = "#4EC9B0", bg = "NONE" }, -- Teal for types
					Function = { fg = "#A53FD6", bg = "NONE" }, -- Purple for functions
				}
			end,
		},
	})
end,
@radutomy radutomy added the bug Something isn't working label Oct 21, 2024
@scottmckendry
Copy link
Owner

scottmckendry commented Oct 21, 2024

Can I recommend using borders? I've been using blink.cmp like this for a while now:

image

Here's my blink.cmp config:

return {
    "saghen/blink.cmp",
    dev = true,
    lazy = false,
    dependencies = "rafamadriz/friendly-snippets",
    build = "cargo build --release",
    config = function()
        require("blink.cmp").setup({
            keymap = {
                accept = "<C-y>",
                select_next = "<C-n>",
            },
            windows = {
                autocomplete = { border = "rounded", draw = "reversed" },
                documentation = { border = "rounded", auto_show = true },
                signature_help = { border = "rounded" },
            },
        })
    end,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants