feat: per-plugin border styles

defaults to the value of globalStyle, can be overriden
This commit is contained in:
raf 2023-07-26 10:27:57 +03:00
commit cc1f1b2ed8
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
7 changed files with 59 additions and 11 deletions

View file

@ -194,6 +194,7 @@ in {
cmp.setup({
${optionalString (config.vim.ui.borders.enable) ''
-- explicitly enabled by setting ui.borders.enable = true
-- TODO: try to get nvim-cmp to follow global border style
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),