Skip to content

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

Open
@yavorski

Description

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions