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

Feature: popupmenu with blink backend and mini.icons #1035

Open
1 task done
yavorski opened this issue Jan 11, 2025 · 1 comment
Open
1 task done

Feature: popupmenu with blink backend and mini.icons #1035

yavorski opened this issue Jan 11, 2025 · 1 comment
Labels
enhancement New feature or request stale

Comments

@yavorski
Copy link

Did you check the docs?

  • I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Use blink as backend for popup menu, also mini.icons would be nice too.
Rearrange items in the menu to start with the icon at front and then the completion entry label.

Describe alternatives you've considered

for mini.icons i currently use the code below, but I would like the hide the kind text too and put the icon at the start of the entry line.

local noice_icons = require("noice.config.icons")
local noice_highlights = require("noice.config.highlights")

for kind, _ in pairs(noice_icons.kinds) do
  local mini_icon, mini_highlight = MiniIcons.get("lsp", kind:lower())
  noice_icons.kinds[kind] = mini_icon
  noice_highlights.defaults["CompletionItemKind" .. kind] = mini_highlight
end

Additional context

Popupmenu overlaps with the current line when you are at the bottom of the editor.
I have tried to set the realtive option to `cursor, but the problem persists.

popupmenu = { relative = "cursor" }

image

@yavorski yavorski added the enhancement New feature or request label Jan 11, 2025
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant