ianding1 / leetcode.vim

Solve LeetCode problems in Vim!
MIT License
311 stars 43 forks source link

LeetCodeSubmit returning 'run code' / 'test' output instead of submission output #60

Open Galus opened 4 years ago

Galus commented 4 years ago

Looking at my debug logs, I can see the response does not contain a judge_type to make the decision See: https://github.com/ianding1/leetcode.vim/blob/master/autoload/leetcode.py#L351

Instead, I noticed that submit and run code return two differently formatted submission_id values.

Opening pull request to fix this at least on my end.