kawre / leetcode.nvim

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

Python3 lang still uses Python2 #21

Closed milan-panta closed 7 months ago

milan-panta commented 7 months ago

The python3 question template is the same as the python2 (python) one and code that runs on python3 on leetcode.com doesn't run on leetcode.nvim when python3 is selected as the language.

milan-panta commented 7 months ago

Okay you can get around this by setting lang = "python3" in the setup for leetcode.nvim. But no matter what it's set to, selecting "Python" and "Python3" inside a leetcode.nvim instance through the "Leet lang" command will result in the same version of python for both commands.

kawre commented 7 months ago

@milan-panta has this commit changed anything?

milan-panta commented 7 months ago

Yup, that fixed it! Thanks!