kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
655 stars 34 forks source link

Infinite loop fetching problem list #26

Closed milan-panta closed 7 months ago

milan-panta commented 7 months ago

Attempting to fetch the problems list on a fresh install of leetcode.nvim results in an infinite loop of "leetcode.nvim fetching problem list" and the following error message:

E5108: Error executing lua: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...im/lazy/leetcode.nvim/lua/leetcode/cache/problemlist.lua:61: attempt to index local 'err' (a nil value) stack traceback: [C]: in function 'error' ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next' ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step' ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute' ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:108: in function 'run' ...re/nvim/lazy/leetcode.nvim/lua/leetcode/command/init.lua:29: in function <...re/nvim/lazy/leetcode.nvim/lua/leetcode/command/init.lua:23>

kawre commented 7 months ago

Thanks