mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-18 01:34:32 +02:00
refactor(snacks): snacks_float -> snacks_win
This commit is contained in:
parent
b6ddeb2341
commit
7b150d774e
3 changed files with 5 additions and 5 deletions
|
@ -118,9 +118,9 @@ return {
|
|||
size = { height = 0.4 },
|
||||
title = "%{b:snacks_terminal.id}: %{b:term_title}",
|
||||
filter = function(_buf, win)
|
||||
return vim.w[win].snacks_float
|
||||
and vim.w[win].snacks_float.position == pos
|
||||
and vim.w[win].snacks_float.relative == "editor"
|
||||
return vim.w[win].snacks_win
|
||||
and vim.w[win].snacks_win.position == pos
|
||||
and vim.w[win].snacks_win.relative == "editor"
|
||||
and not vim.w[win].trouble_preview
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -20,7 +20,7 @@ return {
|
|||
"help",
|
||||
"lazy",
|
||||
"snacks_terminal",
|
||||
"snacks_float",
|
||||
"snacks_win",
|
||||
"mason",
|
||||
"neo-tree",
|
||||
"notify",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue