Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leetcode.nvim Not Working in NVChad #91

Open
bupd opened this issue Apr 15, 2024 · 4 comments
Open

leetcode.nvim Not Working in NVChad #91

bupd opened this issue Apr 15, 2024 · 4 comments

Comments

@bupd
Copy link

bupd commented Apr 15, 2024

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
Copy link
Author

bupd commented Apr 15, 2024

This is how I added it to My config File.

nvim Issue

@kawre
Copy link
Owner

kawre commented Apr 15, 2024

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

@braveltd
Copy link

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

@bupd
Copy link
Author

bupd commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants