Added lsp, blink, etc...

This commit is contained in:
maciejrusek
2026-03-10 23:01:51 +01:00
parent e98b1b4f8e
commit 0f03121b87
9 changed files with 93 additions and 2 deletions

32
lua/plugins/blink.lua Normal file
View File

@@ -0,0 +1,32 @@
return {
"saghen/blink.cmp",
dependencies = { 'rafamadriz/friendly-snippets' },
event = { "InsertEnter", "CmdlineEnter" },
opts = {
keymap = { preset = 'default' },
appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono'
},
-- (Default) Only show the documentation popup when manually triggered
completion = { documentation = { auto_show = true, auto_show_delay_ms = 200, } },
-- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = {
implementation = "lua"
}
},
opts_extend = { "sources.default" }
}