/
bluesboy
/
dotfiles
Обзор
Документация
Войти
/
bluesboy
/
dotfiles
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
config/nvim/lua/plugins/ui/blink.lua
66 строк
1 KB
Bluesboy
Refactor plugins with Lazy.nvim hacks
09 мар 2026, 07:01
09 мар 2026, 07:01
95396ab
Код
Авторство
О чём код?
return { { "saghen/blink.cmp", event = { "InsertEnter", "CmdlineEnter" }, dependencies = { { "L3MON4D3/LuaSnip", build = "make install_jsregexp", dependencies = { "rafamadriz/friendly-snippets" }, config = function() require("luasnip.loaders.from_vscode").lazy_load() end, }, }, version = "1.*", ---@module 'blink.cmp' ---@type blink.cmp.Config opts = { keymap = { preset = "default", ["<A-space>"] = { "show", "show_documentation", "hide_documentation", "fallback" }, }, appearance = { nerd_font_variant = "mono", }, completion = { documentation = { auto_show = true }, menu = { border = "rounded", draw = { columns = { { "label", "label_description", gap = 1 }, { "kind_icon", "kind", "source_name", gap = 1 }, }, }, }, }, sources = { default = { "lsp", "path", "snippets", "buffer", }, }, cmdline = { sources = { "cmdline" }, }, snippets = { preset = "luasnip", }, signature = { enabled = true }, fuzzy = { implementation = "prefer_rust_with_warning" }, }, opts_extend = { "sources.default" }, }, }