mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
Removed copilot.nvim
This commit is contained in:
@@ -11,17 +11,6 @@ return {
|
||||
{ "<leader>o", group = "[O]verseer" },
|
||||
{ "<leader>h", group = "[H]arpoon" },
|
||||
{ "<leader>x", group = "[X] Trouble" },
|
||||
{ "<leader>|", group = "[|] Copilot" },
|
||||
},
|
||||
copilot = {
|
||||
{ "<leader>||", "<cmd>Copilot toggle<cr>", desc = "[||] Toggle Copilot", mode = "n" },
|
||||
{
|
||||
"<leader>|t",
|
||||
"<cmd>Copilot suggestion toggle_auto_trigger<cr>",
|
||||
desc = "[|] [T]oggle inline suggestions",
|
||||
mode = "n",
|
||||
},
|
||||
{ "<leader>|p", "<cmd>Copilot panel<cr>", desc = "[|] [P]anel", mode = "n" },
|
||||
},
|
||||
harpoon = {
|
||||
{
|
||||
|
||||
@@ -111,7 +111,6 @@ return { -- UI components and other visual elements are declared here
|
||||
"filename",
|
||||
},
|
||||
lualine_x = {
|
||||
{ "copilot", show_colors = true },
|
||||
"encoding",
|
||||
"fileformat",
|
||||
"filetype",
|
||||
@@ -139,11 +138,6 @@ return { -- UI components and other visual elements are declared here
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"AndreM222/copilot-lualine",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "zbirenbaum/copilot.lua" },
|
||||
},
|
||||
-- Assistant for refreshers on vim motions
|
||||
{
|
||||
"tris203/precognition.nvim",
|
||||
|
||||
@@ -237,30 +237,6 @@ return { -- General programming utilities go here
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
},
|
||||
-- Github copilot, cos its pretty handy
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("copilot").setup({
|
||||
panel = {
|
||||
auto_refresh = true,
|
||||
layout = {
|
||||
position = "right",
|
||||
},
|
||||
},
|
||||
suggestion = {
|
||||
keymap = {
|
||||
accept = "<M-CR>",
|
||||
accept_word = "<M-w>",
|
||||
accept_line = "<M-f>",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
keys = require("config.keys").copilot,
|
||||
},
|
||||
-- Rust tools like inlay hints are absolutely essential
|
||||
{ "simrat39/rust-tools.nvim", ft = "rust" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user