Saghen / blink.cmp

Performant, batteries-included completion plugin for Neovim
MIT License
736 stars 37 forks source link

Visual Bug in the `snippets` documentation window when used alongside `noice.nvim` #126

Closed chrisgrieser closed 2 hours ago

chrisgrieser commented 3 hours ago

Given this snippet in a snippet file:

"barbaz": {
  "body": "Hello World",
  "prefix": "foobar"
},

And using the following noice.nvim config:

opts = {
    lsp = {
        override = {
            ["vim.lsp.util.stylize_markdown"] = true,
        },
    },
},

results in a duplicate display of the entry's key (the barbaz) when it comes blink.cmp's snippets source:

Showcase

It should also be noted that ["vim.lsp.util.stylize_markdown"] = true is the suggested setup in noice's readme, meaning a lot of people will have it enabled. (And in fact, the documentation window does much look nicer with it, normally.)

Saghen commented 3 hours ago

Can you confirm that you're on the latest commit? The documentation rendering no longer uses the stylize_markdown since #113

chrisgrieser commented 2 hours ago

ah yes, I am v.0.3.1, which does not contain that commit. Didn't notice that commit in the commit history.