no copilot
This commit is contained in:
@@ -741,7 +741,7 @@ require('lazy').setup({
|
|||||||
version = '1.*',
|
version = '1.*',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
-- Copilot blink integration
|
-- Copilot blink integration
|
||||||
'fang2hou/blink-copilot',
|
--'fang2hou/blink-copilot',
|
||||||
-- Snippet Engine
|
-- Snippet Engine
|
||||||
{
|
{
|
||||||
'L3MON4D3/LuaSnip',
|
'L3MON4D3/LuaSnip',
|
||||||
@@ -795,7 +795,7 @@ require('lazy').setup({
|
|||||||
-- <c-k>: Toggle signature help
|
-- <c-k>: Toggle signature help
|
||||||
--
|
--
|
||||||
-- See :h blink-cmp-config-keymap for defining your own keymap
|
-- See :h blink-cmp-config-keymap for defining your own keymap
|
||||||
preset = 'enter',
|
preset = 'super-tab',
|
||||||
|
|
||||||
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
|
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
|
||||||
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
|
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
|
||||||
@@ -822,15 +822,16 @@ require('lazy').setup({
|
|||||||
},
|
},
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
default = { 'copilot', 'lsp', 'path', 'lazydev', 'snippets' },
|
--default = { 'copilot', 'lsp', 'path', 'lazydev', 'snippets' },
|
||||||
|
default = { 'lsp', 'path', 'lazydev', 'snippets' },
|
||||||
providers = {
|
providers = {
|
||||||
copilot = {
|
-- copilot = {
|
||||||
name = 'copilot',
|
-- name = 'copilot',
|
||||||
module = 'blink-copilot',
|
-- module = 'blink-copilot',
|
||||||
score_offset = 1000,
|
-- score_offset = 1000,
|
||||||
async = true,
|
-- async = true,
|
||||||
max_items = 1,
|
-- max_items = 1,
|
||||||
},
|
-- },
|
||||||
lsp = { score_offset = 0 },
|
lsp = { score_offset = 0 },
|
||||||
-- Lazydev gives autocompletion for lua, imported libraries and ---@module "nvim-treesitter" statements
|
-- Lazydev gives autocompletion for lua, imported libraries and ---@module "nvim-treesitter" statements
|
||||||
lazydev = { module = 'lazydev.integrations.blink', score_offset = 0, max_items = 5 },
|
lazydev = { module = 'lazydev.integrations.blink', score_offset = 0, max_items = 5 },
|
||||||
|
|||||||
Reference in New Issue
Block a user