From 9f6461c5b1cb6754b130b30dfe9ba50fd1fcf9cb Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 13 Mar 2026 11:09:52 +0100 Subject: Neovim: Autovervollständigung mit blink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/plugins/completion.lua | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 nvim/lua/plugins/completion.lua (limited to 'nvim/lua/plugins/completion.lua') diff --git a/nvim/lua/plugins/completion.lua b/nvim/lua/plugins/completion.lua new file mode 100644 index 0000000..4912815 --- /dev/null +++ b/nvim/lua/plugins/completion.lua @@ -0,0 +1,46 @@ +return { + { + "saghen/blink.cmp", + dependencies = { "rafamadriz/friendly-snippets" }, + version = "1.*", + + opts = { + keymap = { preset = "default" }, + + appearance = { + use_nvim_cmp_as_default = true, + nerd_font_variant = "mono", + }, + + completion = { + documentation = { + auto_show = false, + window = { + border = "rounded", + }, + }, + + menu = { + border = "rounded", + }, + }, + + signature = { + enabled = true, + window = { + border = "rounded", + }, + }, + + sources = { + default = { "lsp", "path", "snippets", "buffer" }, + }, + + fuzzy = { + implementation = "prefer_rust_with_warning", + }, + }, + + opts_extend = { "sources.default" }, + }, +} -- cgit v1.3