Open DavidHammer123 opened 3 years ago
Hello,
use this vim command to enable the option temporarily after opening vim:
let g:leetcode_browser='chrome'
or
let g:leetcode_browser='firefox'
It works! Thanks!
btw, what's the command to open a specific problem on leetcode? When i use ':LeetCodeBrowse', it shows all the problems, how can i enter the problems?
after set leetcode_browser and exe LeetCodeList,i get this
how could i solve this problem?
@edte Did you try this FAQ section?
Ubuntu users might see the error message below when signing in.
raise InitError("Failed to unlock the collection!")
keyring.errors.InitError: Failed to unlock the collection!
It's caused by the misconfiguration of python-keyring. One way to fix it is to create a file ~/.local/share/python_keyring/keyringrc.cfg
with the following content:
[backend]
default-keyring=keyring.backends.Gnome.Keyring
~~Once you sign in on your browser in LeetCode website, the LeetCode session in Vim get expired immediatelly. Then you need to sign in again in Vim before doing other things.~~ (No longer having this problem)
According to issue #5, if the email address is not active, then you can only login and download problems, but cannot test and submit any code.
This solution worked for me:
pip3 install --upgrade keyrings.alt
Hello, my vim shows "g:leetcode browser is disabled", how can I fix it?