A Neovim plugin enabling you to solve LeetCode problems.
fix(fzf): `winopts.win_*` deprecated
3 files changed, +5 -4
+1-0lua/leetcode/logger/spinner/init.lua
| @@ -77,6 +77,7 @@ function spinner:set(msg, lvl, opts) | ||
| 77 | 77 | |
| 78 | 78 | opts = vim.tbl_deep_extend("force", { |
| 79 | 79 | hide_from_history = true, |
| 80 | + history = false, | |
| 80 | 81 | title = config.name, |
| 81 | 82 | timeout = false, |
| 82 | 83 | replace = id, |
+2-2lua/leetcode/picker/language/fzf.lua
| @@ -17,8 +17,8 @@ return function(question, cb) | ||
| 17 | 17 | fzf.fzf_exec(items, { |
| 18 | 18 | prompt = t("Available Languages") .. "> ", |
| 19 | 19 | winopts = { |
| 20 | - win_height = language_picker.height, | |
| 21 | - win_width = language_picker.width, | |
| 20 | + height = language_picker.height, | |
| 21 | + width = language_picker.width, | |
| 22 | 22 | }, |
| 23 | 23 | fzf_opts = { |
| 24 | 24 | ["--delimiter"] = deli, |
+2-2lua/leetcode/picker/question/fzf.lua
| @@ -18,8 +18,8 @@ return function(questions, opts) | ||
| 18 | 18 | fzf.fzf_exec(items, { |
| 19 | 19 | prompt = t("Select a Question") .. "> ", |
| 20 | 20 | winopts = { |
| 21 | - win_height = question_picker.height, | |
| 22 | - win_width = question_picker.width, | |
| 21 | + height = question_picker.height, | |
| 22 | + width = question_picker.width, | |
| 23 | 23 | }, |
| 24 | 24 | fzf_opts = { |
| 25 | 25 | ["--delimiter"] = deli, |