mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 13:17:38 +00:00
Fix a bunch of lazy loaded plugins
Also does one extra thing, updating copilot chat to build dependencies
This commit is contained in:
parent
33fc019e7a
commit
8708986e04
@ -16,6 +16,7 @@ return {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
lazy = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"https://github.com/ViViDboarder/wombuddy.nvim",
|
"https://github.com/ViViDboarder/wombuddy.nvim",
|
||||||
@ -112,7 +113,7 @@ return {
|
|||||||
{ "gs", "<cmd>Git<CR>", desc = "Git status" },
|
{ "gs", "<cmd>Git<CR>", desc = "Git status" },
|
||||||
{ "gw", "<cmd>Git write<CR>", desc = "Git write" },
|
{ "gw", "<cmd>Git write<CR>", desc = "Git write" },
|
||||||
},
|
},
|
||||||
command = { "Git" },
|
cmd = { "Git" },
|
||||||
},
|
},
|
||||||
-- Quick toggling of Location and Quickfix lists
|
-- Quick toggling of Location and Quickfix lists
|
||||||
{
|
{
|
||||||
@ -195,7 +196,7 @@ return {
|
|||||||
require("plugins.darknotify")
|
require("plugins.darknotify")
|
||||||
end,
|
end,
|
||||||
dependencies = { { "https://github.com/nvim-lualine/lualine.nvim" } },
|
dependencies = { { "https://github.com/nvim-lualine/lualine.nvim" } },
|
||||||
lazy = true,
|
event = "VeryLazy",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Custom start screen
|
-- Custom start screen
|
||||||
@ -281,6 +282,14 @@ return {
|
|||||||
{ "https://github.com/neovim/nvim-lspconfig" },
|
{ "https://github.com/neovim/nvim-lspconfig" },
|
||||||
{ "https://github.com/williamboman/mason-lspconfig.nvim" },
|
{ "https://github.com/williamboman/mason-lspconfig.nvim" },
|
||||||
},
|
},
|
||||||
|
cmd = {
|
||||||
|
"Mason",
|
||||||
|
"MasonInstall",
|
||||||
|
"MasonLog",
|
||||||
|
"MasonUninstall",
|
||||||
|
"MasonUninstallAll",
|
||||||
|
"MasonUpdate",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Lua dev for vim
|
-- Lua dev for vim
|
||||||
@ -391,9 +400,7 @@ return {
|
|||||||
require("luasnip.loaders.from_vscode").lazy_load()
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
end,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{
|
{ "https://github.com/rafamadriz/friendly-snippets" },
|
||||||
"https://github.com/rafamadriz/friendly-snippets",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -589,7 +596,6 @@ return {
|
|||||||
"SourcegraphSearch",
|
"SourcegraphSearch",
|
||||||
},
|
},
|
||||||
enabled = vim.g.install_sourcegraph,
|
enabled = vim.g.install_sourcegraph,
|
||||||
lazy = true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -601,16 +607,37 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
{ "https://github.com/tpope/vim-rsi" },
|
{ "https://github.com/tpope/vim-rsi" },
|
||||||
},
|
},
|
||||||
lazy = true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"https://github.com/CopilotC-Nvim/CopilotChat.nvim",
|
"https://github.com/CopilotC-Nvim/CopilotChat.nvim",
|
||||||
enabled = vim.g.install_copilot,
|
enabled = vim.g.install_copilot,
|
||||||
branch = "canary",
|
branch = "canary",
|
||||||
|
build = "make tiktoken",
|
||||||
|
dependencies = {
|
||||||
|
{ "https://github.com/github/copilot.vim" },
|
||||||
|
{ "https://github.com/nvim-lua/plenary.nvim" },
|
||||||
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.copilotchat").setup()
|
require("plugins.copilotchat").setup()
|
||||||
end,
|
end,
|
||||||
|
keys = {
|
||||||
|
{ "<leader>cc", ":echo 'Lazy load copilot chat'<cr>", desc = "Load copilot chat" },
|
||||||
|
},
|
||||||
|
cmd = {
|
||||||
|
"CopilotChat",
|
||||||
|
"CopilotChatOpen",
|
||||||
|
"CopilotChatToggle",
|
||||||
|
"CopilotChatModels",
|
||||||
|
"CopilotChatExplain",
|
||||||
|
"CopilotChatReview",
|
||||||
|
"CopilotChatOptimize",
|
||||||
|
"CopilotChatDocs",
|
||||||
|
"CopilotChatTests",
|
||||||
|
"CopilotChatFixDiagnostic",
|
||||||
|
"CopilotChatCommit",
|
||||||
|
"CopilotChatCommitStaged",
|
||||||
|
},
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user