irongit

A Neovim plugin enabling you to solve LeetCode problems.

fix(fzf): `winopts.win_*` deprecated

kawreauthored
parent eac055ecommit 221ee9ecccd7b4ce7b41417a92a9f07011edbfabBrowse files

3 files changed, +5 -4

+1-0lua/leetcode/logger/spinner/init.lua
@@ -77,6 +77,7 @@ function spinner:set(msg, lvl, opts)
7777
7878 opts = vim.tbl_deep_extend("force", {
7979 hide_from_history = true,
80+ history = false,
8081 title = config.name,
8182 timeout = false,
8283 replace = id,
+2-2lua/leetcode/picker/language/fzf.lua
@@ -17,8 +17,8 @@ return function(question, cb)
1717 fzf.fzf_exec(items, {
1818 prompt = t("Available Languages") .. "> ",
1919 winopts = {
20- win_height = language_picker.height,
21- win_width = language_picker.width,
20+ height = language_picker.height,
21+ width = language_picker.width,
2222 },
2323 fzf_opts = {
2424 ["--delimiter"] = deli,
+2-2lua/leetcode/picker/question/fzf.lua
@@ -18,8 +18,8 @@ return function(questions, opts)
1818 fzf.fzf_exec(items, {
1919 prompt = t("Select a Question") .. "> ",
2020 winopts = {
21- win_height = question_picker.height,
22- win_width = question_picker.width,
21+ height = question_picker.height,
22+ width = question_picker.width,
2323 },
2424 fzf_opts = {
2525 ["--delimiter"] = deli,