Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 221ee9e

Browse files
committed
fix(fzf): winopts.win_* deprecated
1 parent eac055e commit 221ee9e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lua/leetcode/logger/spinner/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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,

lua/leetcode/picker/language/fzf.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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,

lua/leetcode/picker/question/fzf.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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,

0 commit comments

Comments
 (0)