[UPDATE] snacks and picker layouts

This commit is contained in:
Daveanand Mannie
2025-04-08 18:37:03 -04:00
parent a4e1fb2448
commit 994bb0f5a7
2 changed files with 33 additions and 5 deletions

View File

@@ -3,6 +3,32 @@ local layouts = {
------------------------------------------
-- custom
------------------------------------------
---
lsp_telescope = {
reverse = false,
layout = {
box = "horizontal",
backdrop = false,
width = 0.8,
height = 0.9,
border = "none",
{
box = "vertical",
{ win = "list", title = " Results ", title_pos = "center", border = "rounded" },
{ win = "input", height = 1, border = "rounded", title = "{title} {live}", title_pos = "left" },
},
{
win = "preview",
title = "{preview:Preview}",
width = 0.7,
border = "rounded",
title_pos = "center",
},
},
},
vs_search = {
preview = false,
layout = {

View File

@@ -8,10 +8,10 @@ return {
lazygit = {
configure = true,
config = {
gui={
nerdFontsVersion= "3"
}
}
gui = {
nerdFontsVersion = "3",
},
},
},
-----------------------------------------------
-- notifications
@@ -50,12 +50,14 @@ return {
},
sources = {
explorer = { cycle = false, layout = { preset = "sidebar" } },
buffers = { layout = { preset = "vscode" } },
buffers = { layout = { preset = "vs_search" } },
lines = { main = { current = false }, layout = { preset = "vs_search" } },
diagnostics = { layout = { preset = "vs_search" } },
diagnostics_buffer = { layout = { preset = "vs_search" } },
git_status = { ignored = false },
grep = { ignored = false, hidden = false, exclude = { "*.po", " *.pot" } },
todo_comments = { ignored = false, hidden = false },
lsp_symbols = {layout = {preset = "lsp_telescope" }},
files = {
hidden = true,
ignored = true,