snacks tweaks

This commit is contained in:
iofq 2025-02-04 02:03:02 -06:00
parent bb2a34d620
commit e7eb63b09b
4 changed files with 17 additions and 6 deletions

View file

@ -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
}
}
}
}

View file

@ -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',

View file

@ -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",

View file

@ -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(...)