mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-17 17:23:24 +02:00
fix(snacks): float -> win
This commit is contained in:
parent
7ec2d7f22d
commit
a96e5dfd83
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ return {
|
||||||
---@type snacks.Config
|
---@type snacks.Config
|
||||||
opts = {
|
opts = {
|
||||||
terminal = {
|
terminal = {
|
||||||
float = {
|
win = {
|
||||||
keys = {
|
keys = {
|
||||||
nav_h = { "<C-h>", term_nav("h"), desc = "Go to Left Window", expr = true, mode = "t" },
|
nav_h = { "<C-h>", term_nav("h"), desc = "Go to Left Window", expr = true, mode = "t" },
|
||||||
nav_j = { "<C-j>", term_nav("j"), desc = "Go to Lower Window", expr = true, mode = "t" },
|
nav_j = { "<C-j>", term_nav("j"), desc = "Go to Lower Window", expr = true, mode = "t" },
|
||||||
|
|
|
@ -72,7 +72,7 @@ function M.open(file, opts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local float = Snacks.float({
|
local float = Snacks.win({
|
||||||
file = file,
|
file = file,
|
||||||
win = { width = 0.6, height = 0.6 },
|
win = { width = 0.6, height = 0.6 },
|
||||||
wo = {
|
wo = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue