diff --git a/lua/lazyvim/plugins/extras/ui/edgy.lua b/lua/lazyvim/plugins/extras/ui/edgy.lua index f1fc9b70..dbe76d1b 100644 --- a/lua/lazyvim/plugins/extras/ui/edgy.lua +++ b/lua/lazyvim/plugins/extras/ui/edgy.lua @@ -110,7 +110,7 @@ return { }) end - -- snacks float + -- snacks terminal for _, pos in ipairs({ "top", "bottom", "left", "right" }) do opts[pos] = opts[pos] or {} table.insert(opts[pos], { diff --git a/lua/lazyvim/util/news.lua b/lua/lazyvim/util/news.lua index ae8895b7..f473f3a3 100644 --- a/lua/lazyvim/util/news.lua +++ b/lua/lazyvim/util/news.lua @@ -72,8 +72,9 @@ function M.open(file, opts) end end - Snacks.config.view("news", { - win = { width = 0.6, height = 0.6 }, + Snacks.config.style("news", { + width = 0.6, + height = 0.6, wo = { spell = false, wrap = false, @@ -85,7 +86,7 @@ function M.open(file, opts) local float = Snacks.win({ file = file, - view = "news", + style = "news", }) if vim.diagnostic.enable then