leetcode.nvim icon indicating copy to clipboard operation
leetcode.nvim copied to clipboard

leetcode.nvim Not Working in NVChad

Open bupd opened this issue 10 months ago • 4 comments

Description: I've recently tried to set up leetcode.nvim in my nvchad environment following the instructions provided in the README file. However, I'm encountering issues and unable to get it working properly. Here are the details:

Steps to Reproduce:

Followed the installation instructions in the README file for integrating leetcode.nvim into my nvchad environment. Enabled the necessary configurations as per the instructions. Opened nvim and attempted to use the leetcode plugin.

nvim leetcode.nvim

Expected Behavior:

I expected leetcode.nvim to work seamlessly within my nvchad environment, allowing me to access and solve LeetCode problems directly from within nvim. I expected nvim leetcode.nvim to open the leetcode.nvim plugin, not a file named leetcode.nvim.

Actual Behavior:

However, When I try to open leetcode.nvim using

nvim leetcode.nvim

it opens a file named leetcode.nvim instead of launching the leetcode.nvim plugin.

Additional Information:

Version of neovim: v9.0 Version of nvchad: v2.0 Operating System: Arch Linux.

I would appreciate any assistance or guidance on resolving this issue. Thank you!

bupd avatar Apr 15 '24 11:04 bupd

This is how I added it to My config File.

nvim Issue

bupd avatar Apr 15 '24 11:04 bupd

Maybe you have lazy loading enabled by default. If yes, then you have to add lazy = false to leetcode.nvim

kawre avatar Apr 15 '24 13:04 kawre

I had the same problem, solved it by setting lazy = false

braveltd avatar Apr 16 '24 03:04 braveltd

Maybe you have lazy loading enabled by default. If yes, then you have to add lazy = false to leetcode.nvim

It works Now and thanks to both.

Can we add this point in the readme. So that it helps newcomers.

bupd avatar Apr 17 '24 12:04 bupd