Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/stephansama/nvim. neovim configuration for @stephansama
Something went wrong. Try again.
Lua
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---@module 'blink.cmp'---@type blink.cmp.Configlocal opts = { keymap = { preset = "enter", ["<C-e>"] = { "hide", "show" }, }, appearance = { nerd_font_variant = "mono" }, cmdline = { completion = { menu = { auto_show = true }, }, }, completion = { accept = { auto_brackets = { enabled = false }, }, menu = { border = "rounded" }, }, signature = { window = { border = "rounded" }, }, snippets = { preset = "luasnip" }, sources = { default = { "copilot", "lsp", "path", "snippets", "buffer" }, providers = { copilot = { name = "copilot", module = "blink-copilot", score_offset = 100, async = true, }, }, }, fuzzy = { implementation = "prefer_rust_with_warning", ---@see BlinkDocumentation https://cmp.saghen.dev/recipes.html#deprioritize-specific-lsp sorts = { "exact", function(a, b) if (a.client_name == nil or b.client_name == nil) or (a.client_name == b.client_name) then return end return b.client_name == "emmet_ls" end, "score", "sort_text" }, },}
--- https://cmp.saghen.dev/return { "saghen/blink.cmp", version = "1.*", opts = opts, opts_extend = { "sources.default" }, dependencies = { "fang2hou/blink-copilot", { "windwp/nvim-autopairs", config = true, opts = { fast_wrap = {}, disable_filetype = { "vim" }, }, } },}