Can't open file with `NvimTree` when `LeetCode` is open.
Hello, thank you for your contribution to this project. While using the leetcode plugin, I may have encountered an issue related to opening files. The specific situation is as follows:
First, I entered nvim leetcode.nvim in the terminal to open the LeetCode plugin page.
Then, I used Ctrl+n (which is the shortcut I configured to open the NvimTree plugin) to open the NvimTree panel on the left.
However, when I selected a file and pressed Enter, nothing happened, and the cursor automatically jumped to the LeetCode main page on the right. Could you please help me understand why this is happening?
Not the main guy who made this, but I can make a guess:
I have a plugin called oil.nvim (~it's like NvimTree but better XD~)
If I do Space+o I get this:
If you fork the repo, you can try git grep winfixbuf:
I believe the creators don't want you to switch buffers, and since Leetcode questions are all individual problems, there isn't a good reason for switching to another file out of the blue.
If you want to continue doing say problem 2, you can go to Menu > Problems > List, then type 2. Hope this helps!
Thanks for your reply. I will have a try!