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:
parent
4136ceb038
commit
6693a4157b
3 changed files with 19 additions and 4 deletions
|
|
@ -1,7 +1,9 @@
|
|||
return {
|
||||
{
|
||||
"mason-org/mason-lspconfig.nvim",
|
||||
opts = {},
|
||||
opts = {
|
||||
ensure_installed = { "copilot" },
|
||||
},
|
||||
dependencies = {
|
||||
{ "mason-org/mason.nvim", opts = {} },
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@ return {
|
|||
{ "nvim-mini/mini.pairs", opts = {} },
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets",
|
||||
"fang2hou/blink-copilot",
|
||||
},
|
||||
version = "1.*",
|
||||
opts = {
|
||||
keymap = { preset = "super-tab" },
|
||||
|
|
@ -10,7 +13,17 @@ return {
|
|||
completion = {
|
||||
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" },
|
||||
cmdline = {
|
||||
keymap = { preset = "inherit" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue