diff --git a/nvim/lua/plugins/ai.lua b/nvim/lua/plugins/ai.lua index f739f01..d941156 100644 --- a/nvim/lua/plugins/ai.lua +++ b/nvim/lua/plugins/ai.lua @@ -2,7 +2,6 @@ return { { "zbirenbaum/copilot.lua", cmd = "Copilot", - event = "InsertEnter", opts = { panel = { enabled = false }, suggestion = { @@ -45,12 +44,11 @@ return { }, { "yetone/avante.nvim", - event = "VeryLazy", + cmd = "Copilot", dependencies = { "stevearc/dressing.nvim", "nvim-lua/plenary.nvim", "MunifTanjim/nui.nvim", - "folke/snacks.nvim", "zbirenbaum/copilot.lua", { 'MeanderingProgrammer/render-markdown.nvim', @@ -68,6 +66,12 @@ return { }, file_selector = { provider = "native", -- TODO snacks once it's ready + }, + windows = { + width = 50, + ask = { + floating = true + } } } } diff --git a/nvim/lua/plugins/completion.lua b/nvim/lua/plugins/completion.lua index 10efda6..cb70901 100644 --- a/nvim/lua/plugins/completion.lua +++ b/nvim/lua/plugins/completion.lua @@ -3,7 +3,7 @@ return { 'saghen/blink.cmp', event = "VeryLazy", dependencies = { - "yetone/avante.nvim", + { "yetone/avante.nvim", lazy = true }, 'saghen/blink.compat', 'rafamadriz/friendly-snippets', 'giuxtaposition/blink-cmp-copilot', diff --git a/nvim/lua/plugins/misc.lua b/nvim/lua/plugins/misc.lua index 715bf34..901c63e 100644 --- a/nvim/lua/plugins/misc.lua +++ b/nvim/lua/plugins/misc.lua @@ -12,7 +12,7 @@ return { { 'jinh0/eyeliner.nvim', event = 'VeryLazy', - config = function() + init = function() vim.api.nvim_set_hl(0, 'EyelinerPrimary', { underline = true }) vim.api.nvim_set_hl(0, 'EyelinerSecondary', { underline = true }) end, @@ -76,7 +76,7 @@ return { opts = { options = { transparent = true, - terminal_colors = false, + terminal_colors = true, modules = { "mini", "treesitter", diff --git a/nvim/lua/plugins/snacks.lua b/nvim/lua/plugins/snacks.lua index ecfb603..da24d61 100644 --- a/nvim/lua/plugins/snacks.lua +++ b/nvim/lua/plugins/snacks.lua @@ -20,6 +20,13 @@ return { return vim.o.columns >= 120 and "telescope" or "vertical" end }, + picker = { + sources = { + files = { hidden = true }, + grep = { hidden = true }, + explorer = { hidden = true }, + }, + }, actions = { trouble_open = function(...) return require("trouble.sources.snacks").actions.trouble_open.action(...)