mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 05:51:06 +00: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 },
|
size = { height = 0.4 },
|
||||||
title = "%{b:snacks_terminal.id}: %{b:term_title}",
|
title = "%{b:snacks_terminal.id}: %{b:term_title}",
|
||||||
filter = function(_buf, win)
|
filter = function(_buf, win)
|
||||||
return vim.w[win].snacks_float
|
return vim.w[win].snacks_win
|
||||||
and vim.w[win].snacks_float.position == pos
|
and vim.w[win].snacks_win.position == pos
|
||||||
and vim.w[win].snacks_float.relative == "editor"
|
and vim.w[win].snacks_win.relative == "editor"
|
||||||
and not vim.w[win].trouble_preview
|
and not vim.w[win].trouble_preview
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ return {
|
||||||
"help",
|
"help",
|
||||||
"lazy",
|
"lazy",
|
||||||
"snacks_terminal",
|
"snacks_terminal",
|
||||||
"snacks_float",
|
"snacks_win",
|
||||||
"mason",
|
"mason",
|
||||||
"neo-tree",
|
"neo-tree",
|
||||||
"notify",
|
"notify",
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ return {
|
||||||
"mason",
|
"mason",
|
||||||
"notify",
|
"notify",
|
||||||
"toggleterm",
|
"toggleterm",
|
||||||
"snacks_float",
|
"snacks_win",
|
||||||
"snacks_terminal",
|
"snacks_terminal",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue