fix(snacks): float -> win

This commit is contained in:
Folke Lemaitre 2024-11-04 20:41:37 +01:00
parent 7ec2d7f22d
commit a96e5dfd83
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ return {
---@type snacks.Config
opts = {
terminal = {
float = {
win = {
keys = {
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" },

View file

@ -72,7 +72,7 @@ function M.open(file, opts)
end
end
local float = Snacks.float({
local float = Snacks.win({
file = file,
win = { width = 0.6, height = 0.6 },
wo = {