mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
snacks tweaks
This commit is contained in:
parent
bb2a34d620
commit
e7eb63b09b
4 changed files with 17 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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(...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue