From 8b199cd8378beb0dc24b691042daf090f80fa2ee Mon Sep 17 00:00:00 2001 From: Jannik Donker Date: Thu, 20 Feb 2025 20:20:59 +0100 Subject: [PATCH] removed Copilot --- .luarc.json | 4 ++- lazy-lock.json | 36 +++++++++++----------- lua/plugins/copilot-chat.lua | 58 ++++++++++++++++++------------------ lua/plugins/copilot.lua | 2 +- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.luarc.json b/.luarc.json index 1e1765c..ac57b20 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,5 +1,7 @@ { "diagnostics.globals": [ - "vim" + "vim", + "testMe", + "result" ] } \ No newline at end of file diff --git a/lazy-lock.json b/lazy-lock.json index 356cc25..afc4b94 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,25 +1,23 @@ { "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, - "CopilotChat.nvim": { "branch": "canary", "commit": "18d51754e9dc87d6b85f1e331c1fca0825384517" }, - "LuaSnip": { "branch": "master", "commit": "787dee55ca364cc9119787165418fe93b74c1842" }, - "catppuccin": { "branch": "main", "commit": "d9ee9a35f46f0a2bda9a15b5a763fee4095428fd" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, - "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "copilot.vim": { "branch": "release", "commit": "87038123804796ca7af20d1b71c3428d858a9124" }, - "friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" }, - "lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" }, - "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "7446f47b3dfb7df801f31a6f6783c2ad119a6935" }, + "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, + "catppuccin": { "branch": "main", "commit": "4965db2d6155c25db4e8417465fc2703fdf4c2b7" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, + "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, + "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, + "lazy.nvim": { "branch": "main", "commit": "f15a93907ddad3d9139aea465ae18336d87f5ce6" }, + "lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "805c31ec6bfb557975143712ecff6956d3227141" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, - "neo-tree.nvim": { "branch": "v3.x", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, - "none-ls-extras.nvim": { "branch": "main", "commit": "f2bb002c8aa644d1f253772ff5d4e75e45ff7f4f" }, - "none-ls.nvim": { "branch": "main", "commit": "dcc8cd4efdcb29275681a3c95786a816330dbca6" }, - "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, - "nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" }, - "nvim-lspconfig": { "branch": "master", "commit": "85afd4b936acd62b578c2e2d8e86541fb972c32e" }, - "nvim-treesitter": { "branch": "master", "commit": "f6c5a58e3bbbedd2a31d04e5aa6f9997df20e3df" }, - "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, - "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, + "neo-tree.nvim": { "branch": "v3.x", "commit": "5d172e8315444dbc32867d1c7b04d8e7e68ec4e1" }, + "none-ls-extras.nvim": { "branch": "main", "commit": "6557f20e631d2e9b2a9fd27a5c045d701a3a292c" }, + "none-ls.nvim": { "branch": "main", "commit": "02f5275d8a5546092f01306f162c00c71d6e0281" }, + "nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" }, + "nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" }, + "nvim-lspconfig": { "branch": "master", "commit": "6c17f8656f667727b27f5f598463afedb7791b18" }, + "nvim-treesitter": { "branch": "master", "commit": "e411cf2c8adea87acda6c3d634a375addbfff88e" }, + "nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" }, + "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" } } diff --git a/lua/plugins/copilot-chat.lua b/lua/plugins/copilot-chat.lua index 3b17102..0152077 100644 --- a/lua/plugins/copilot-chat.lua +++ b/lua/plugins/copilot-chat.lua @@ -1,31 +1,31 @@ return { - { - "CopilotC-Nvim/CopilotChat.nvim", - branch = "canary", - dependencies = { - { "github/copilot.vim" }, -- or github/copilot.vim - { "nvim-lua/plenary.nvim" }, -- for curl, log wrapper - }, - build = "make tiktoken", -- Only on MacOS or Linux - opts = { - debug = true, -- Enable debugging - -- default window options - window = { - layout = "float", -- 'vertical', 'horizontal', 'float', 'replace' - width = 0.8, -- fractional width of parent, or absolute width in columns when > 1 - height = 0.8, -- fractional height of parent, or absolute height in rows when > 1 - -- Options below only apply to floating windows - relative = "editor", -- 'editor', 'win', 'cursor', 'mouse' - border = "single", -- 'none', single', 'double', 'rounded', 'solid', 'shadow' - row = nil, -- row position of the window, default is centered - col = nil, -- column position of the window, default is centered - title = "Copilot Chat", -- title of chat window - footer = nil, -- footer of chat window - zindex = 1, -- determines if window is on top or below other floating windows - }, - }, - vim.api.nvim_set_keymap("n", "gh", ":CopilotChatToggle", { noremap = true, silent = true }), - vim.api.nvim_set_keymap("n", "gr", ":CopilotChatReset", { noremap = true, silent = true }), - -- See Commands section for default commands if you want to lazy load on them - }, +-- { +-- "CopilotC-Nvim/CopilotChat.nvim", +-- branch = "canary", +-- dependencies = { +-- { "github/copilot.vim" }, -- or github/copilot.vim +-- { "nvim-lua/plenary.nvim" }, -- for curl, log wrapper +-- }, +-- build = "make tiktoken", -- Only on MacOS or Linux +-- opts = { +-- debug = true, -- Enable debugging +-- -- default window options +-- window = { +-- layout = "float", -- 'vertical', 'horizontal', 'float', 'replace' +-- width = 0.8, -- fractional width of parent, or absolute width in columns when > 1 +-- height = 0.8, -- fractional height of parent, or absolute height in rows when > 1 +-- -- Options below only apply to floating windows +-- relative = "editor", -- 'editor', 'win', 'cursor', 'mouse' +-- border = "single", -- 'none', single', 'double', 'rounded', 'solid', 'shadow' +-- row = nil, -- row position of the window, default is centered +-- col = nil, -- column position of the window, default is centered +-- title = "Copilot Chat", -- title of chat window +-- footer = nil, -- footer of chat window +-- zindex = 1, -- determines if window is on top or below other floating windows +-- }, +-- }, +-- vim.api.nvim_set_keymap("n", "gh", ":CopilotChatToggle", { noremap = true, silent = true }), +-- vim.api.nvim_set_keymap("n", "gr", ":CopilotChatReset", { noremap = true, silent = true }), +-- -- See Commands section for default commands if you want to lazy load on them +-- }, } diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 2347f29..f8564e3 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -1,3 +1,3 @@ return { - "github/copilot.vim", +-- "github/copilot.vim", }