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

Allow to pass table to config.window.border #398

Closed
2 tasks done
soifou opened this issue Nov 28, 2024 · 1 comment
Closed
2 tasks done

Allow to pass table to config.window.border #398

soifou opened this issue Nov 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@soifou
Copy link
Contributor

soifou commented Nov 28, 2024

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

vim.api.nvim_open_win can accept a string or a table for border. See :h nvim_open_win.

However, it is no more possible to pass a table for window.border config in menu, documentation and signature.
The validation expects only a string and crash if a table is set.

Relevant configuration

signature = {
            window = {
                border = { '🭽', '', '🭾', '', '🭿', '', '🭼', '' }
            },
        },

neovim version

v0.11.0-dev+g203e7a43d1

blink.cmp version: branch, tag, or commit

main

@soifou soifou added the bug Something isn't working label Nov 28, 2024
@Saghen Saghen closed this as completed in 52f6387 Nov 28, 2024
@soifou
Copy link
Contributor Author

soifou commented Nov 28, 2024

Blazingly fast! Thanks for the quick fix.

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

1 participant