Skip to content

Commit a9d343d

Browse files
committed
remove copilot
1 parent e30c346 commit a9d343d

File tree

3 files changed

+0
-81
lines changed

3 files changed

+0
-81
lines changed

doc/kickstart.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

doc/tags

Lines changed: 0 additions & 3 deletions
This file was deleted.

init.lua

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -976,60 +976,6 @@ require('lazy').setup({
976976
}
977977
end,
978978
},
979-
-- {
980-
-- 'zbirenbaum/copilot.lua',
981-
-- requires = {
982-
-- 'copilotlsp-nvim/copilot-lsp',
983-
-- init = function()
984-
-- vim.g.copilot_nes_debounce = 500
985-
-- end,
986-
-- },
987-
-- cmd = 'Copilot',
988-
-- event = 'InsertEnter',
989-
-- config = function()
990-
-- require('copilot').setup {
991-
-- filetypes = {
992-
-- javascript = true,
993-
-- typescript = true,
994-
-- python = true,
995-
-- ['*'] = false, -- disable for all other filetypes and ignore default `filetypes`
996-
-- },
997-
-- suggestion = { enabled = false },
998-
-- panel = { enabled = false },
999-
-- nes = {
1000-
-- enabled = true, -- requires copilot-lsp as a dependency
1001-
-- auto_trigger = false,
1002-
-- keymap = {
1003-
-- accept_and_goto = '<tab>',
1004-
-- accept = false,
1005-
-- dismiss = '<Esc>',
1006-
-- },
1007-
-- },
1008-
-- }
1009-
-- end,
1010-
-- },
1011-
-- {
1012-
-- 'copilotlsp-nvim/copilot-lsp',
1013-
-- init = function()
1014-
-- vim.g.copilot_nes_debounce = 500
1015-
-- vim.lsp.enable 'copilot_ls'
1016-
-- vim.keymap.set('n', '<tab>', function()
1017-
-- local bufnr = vim.api.nvim_get_current_buf()
1018-
-- local state = vim.b[bufnr].nes_state
1019-
-- if state then
1020-
-- -- Try to jump to the start of the suggestion edit.
1021-
-- -- If already at the start, then apply the pending suggestion and jump to the end of the edit.
1022-
-- local _ = require('copilot-lsp.nes').walk_cursor_start_edit()
1023-
-- or (require('copilot-lsp.nes').apply_pending_nes() and require('copilot-lsp.nes').walk_cursor_end_edit())
1024-
-- return nil
1025-
-- else
1026-
-- -- Resolving the terminal's inability to distinguish between `TAB` and `<C-i>` in normal mode
1027-
-- return '<C-i>'
1028-
-- end
1029-
-- end, { desc = 'Accept Copilot NES suggestion', expr = true })
1030-
-- end,
1031-
-- },
1032-
-- { 'giuxtaposition/blink-cmp-copilot' },
1033979
}, {
1034980
ui = {
1035981
icons = {

0 commit comments

Comments
 (0)