remove copilot
This commit is contained in:
parent
e30c346aa9
commit
a9d343de12
|
|
@ -1,24 +0,0 @@
|
||||||
================================================================================
|
|
||||||
INTRODUCTION *kickstart.nvim*
|
|
||||||
|
|
||||||
Kickstart.nvim is a project to help you get started on your neovim journey.
|
|
||||||
|
|
||||||
*kickstart-is-not*
|
|
||||||
It is not:
|
|
||||||
- Complete framework for every plugin under the sun
|
|
||||||
- Place to add every plugin that could ever be useful
|
|
||||||
|
|
||||||
*kickstart-is*
|
|
||||||
It is:
|
|
||||||
- Somewhere that has a good start for the most common "IDE" type features:
|
|
||||||
- autocompletion
|
|
||||||
- goto-definition
|
|
||||||
- find references
|
|
||||||
- fuzzy finding
|
|
||||||
- and hinting at what more can be done :)
|
|
||||||
- A place to _kickstart_ your journey.
|
|
||||||
- You should fork this project and use/modify it so that it matches your
|
|
||||||
style and preferences. If you don't want to do that, there are probably
|
|
||||||
other projects that would fit much better for you (and that's great!)!
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
|
||||||
3
doc/tags
3
doc/tags
|
|
@ -1,3 +0,0 @@
|
||||||
kickstart-is kickstart.txt /*kickstart-is*
|
|
||||||
kickstart-is-not kickstart.txt /*kickstart-is-not*
|
|
||||||
kickstart.nvim kickstart.txt /*kickstart.nvim*
|
|
||||||
54
init.lua
54
init.lua
|
|
@ -976,60 +976,6 @@ require('lazy').setup({
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- {
|
|
||||||
-- 'zbirenbaum/copilot.lua',
|
|
||||||
-- requires = {
|
|
||||||
-- 'copilotlsp-nvim/copilot-lsp',
|
|
||||||
-- init = function()
|
|
||||||
-- vim.g.copilot_nes_debounce = 500
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
-- cmd = 'Copilot',
|
|
||||||
-- event = 'InsertEnter',
|
|
||||||
-- config = function()
|
|
||||||
-- require('copilot').setup {
|
|
||||||
-- filetypes = {
|
|
||||||
-- javascript = true,
|
|
||||||
-- typescript = true,
|
|
||||||
-- python = true,
|
|
||||||
-- ['*'] = false, -- disable for all other filetypes and ignore default `filetypes`
|
|
||||||
-- },
|
|
||||||
-- suggestion = { enabled = false },
|
|
||||||
-- panel = { enabled = false },
|
|
||||||
-- nes = {
|
|
||||||
-- enabled = true, -- requires copilot-lsp as a dependency
|
|
||||||
-- auto_trigger = false,
|
|
||||||
-- keymap = {
|
|
||||||
-- accept_and_goto = '<tab>',
|
|
||||||
-- accept = false,
|
|
||||||
-- dismiss = '<Esc>',
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
-- {
|
|
||||||
-- 'copilotlsp-nvim/copilot-lsp',
|
|
||||||
-- init = function()
|
|
||||||
-- vim.g.copilot_nes_debounce = 500
|
|
||||||
-- vim.lsp.enable 'copilot_ls'
|
|
||||||
-- vim.keymap.set('n', '<tab>', function()
|
|
||||||
-- local bufnr = vim.api.nvim_get_current_buf()
|
|
||||||
-- local state = vim.b[bufnr].nes_state
|
|
||||||
-- if state then
|
|
||||||
-- -- Try to jump to the start of the suggestion edit.
|
|
||||||
-- -- If already at the start, then apply the pending suggestion and jump to the end of the edit.
|
|
||||||
-- local _ = require('copilot-lsp.nes').walk_cursor_start_edit()
|
|
||||||
-- or (require('copilot-lsp.nes').apply_pending_nes() and require('copilot-lsp.nes').walk_cursor_end_edit())
|
|
||||||
-- return nil
|
|
||||||
-- else
|
|
||||||
-- -- Resolving the terminal's inability to distinguish between `TAB` and `<C-i>` in normal mode
|
|
||||||
-- return '<C-i>'
|
|
||||||
-- end
|
|
||||||
-- end, { desc = 'Accept Copilot NES suggestion', expr = true })
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
-- { 'giuxtaposition/blink-cmp-copilot' },
|
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
icons = {
|
icons = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue