Update .config/nvim/lazy-lock.json

Update .config/nvim/lua/plugin/15_lsp.lua
Update .config/nvim/lua/plugin/20_completion.lua
This commit is contained in:
Lewis Wynne 2025-11-03 19:53:07 +00:00
parent 4136ceb038
commit 6693a4157b
3 changed files with 19 additions and 4 deletions

View file

@ -1,8 +1,8 @@
{ {
"blink-copilot": { "branch": "main", "commit": "7ad8209b2f880a2840c94cdcd80ab4dc511d4f39" },
"blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" }, "blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
"codecompanion.nvim": { "branch": "main", "commit": "79c6908a091f19c447141459a481e8ce05e49151" }, "codecompanion.nvim": { "branch": "main", "commit": "79c6908a091f19c447141459a481e8ce05e49151" },
"conform.nvim": { "branch": "master", "commit": "02736cf359a3235c6d7d601a2f6bdc909e557513" }, "conform.nvim": { "branch": "master", "commit": "02736cf359a3235c6d7d601a2f6bdc909e557513" },
"copilot.vim": { "branch": "release", "commit": "da369d90cfd6c396b1d0ec259836a1c7222fb2ea" },
"eyeliner.nvim": { "branch": "main", "commit": "8f197eb30cecdf4c2cc9988a5eecc6bc34c0c7d6" }, "eyeliner.nvim": { "branch": "main", "commit": "8f197eb30cecdf4c2cc9988a5eecc6bc34c0c7d6" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"fzf-lua": { "branch": "main", "commit": "a8458b79a957a6e3e217d84106a0fd4b9470ff4c" }, "fzf-lua": { "branch": "main", "commit": "a8458b79a957a6e3e217d84106a0fd4b9470ff4c" },

View file

@ -1,7 +1,9 @@
return { return {
{ {
"mason-org/mason-lspconfig.nvim", "mason-org/mason-lspconfig.nvim",
opts = {}, opts = {
ensure_installed = { "copilot" },
},
dependencies = { dependencies = {
{ "mason-org/mason.nvim", opts = {} }, { "mason-org/mason.nvim", opts = {} },
{ "neovim/nvim-lspconfig" }, { "neovim/nvim-lspconfig" },

View file

@ -2,7 +2,10 @@ return {
{ "nvim-mini/mini.pairs", opts = {} }, { "nvim-mini/mini.pairs", opts = {} },
{ {
"saghen/blink.cmp", "saghen/blink.cmp",
dependencies = { "rafamadriz/friendly-snippets" }, dependencies = {
"rafamadriz/friendly-snippets",
"fang2hou/blink-copilot",
},
version = "1.*", version = "1.*",
opts = { opts = {
keymap = { preset = "super-tab" }, keymap = { preset = "super-tab" },
@ -10,7 +13,17 @@ return {
completion = { completion = {
documentation = { auto_show = true, auto_show_delay_ms = 0 }, documentation = { auto_show = true, auto_show_delay_ms = 0 },
}, },
sources = { default = { "lsp", "path", "snippets", "buffer" } }, sources = {
default = { "lsp", "path", "snippets", "buffer", "copilot" },
providers = {
copilot = {
name = "copilot",
module = "blink-copilot",
score_offset = 100,
async = true,
},
},
},
fuzzy = { implementation = "prefer_rust_with_warning" }, fuzzy = { implementation = "prefer_rust_with_warning" },
cmdline = { cmdline = {
keymap = { preset = "inherit" }, keymap = { preset = "inherit" },