From 7cf722649f46222ac042169aade541fd5ebf791f Mon Sep 17 00:00:00 2001 From: David Jensenius Date: Tue, 24 Dec 2024 21:21:09 -0500 Subject: [PATCH] Adjust blink config --- nvim/lua/plugins/blink-cmp.lua | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/nvim/lua/plugins/blink-cmp.lua b/nvim/lua/plugins/blink-cmp.lua index 90e394a..cd0d6f6 100644 --- a/nvim/lua/plugins/blink-cmp.lua +++ b/nvim/lua/plugins/blink-cmp.lua @@ -1,7 +1,9 @@ return { 'saghen/blink.cmp', lazy = false, -- lazy loading handled internally - dependencies = { 'rafamadriz/friendly-snippets' }, -- dependencies should be in a table + dependencies = { + 'rafamadriz/friendly-snippets', + }, -- dependencies should be in a table version = 'v0.*', @@ -9,10 +11,29 @@ return { keymap = { preset = 'default' }, appearance = { - use_nvim_cmp_as_default = true, nerd_font_variant = 'mono' }, + completion = { + menu = { + border = 'rounded' + }, + documentation = { + auto_show = true, + auto_show_delay_ms = 250, + treesitter_highlighting = true, + window = { + border = 'rounded', + }, + }, + }, + signature = { + enabled = true, + window = { + border = 'rounded', + }, + }, + sources = { default = { 'lsp', 'path', 'snippets', 'buffer' }, },