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

lazy-nvim equivalent installation #140

Open
danongba opened this issue May 20, 2024 · 2 comments
Open

lazy-nvim equivalent installation #140

danongba opened this issue May 20, 2024 · 2 comments

Comments

@danongba
Copy link

danongba commented May 20, 2024

-newbie
-following a tutorial series that uses lazy-nvim
-found out about this game
-want to try
-no lazy-nvim instruction found
-maybe having both Vim-plug and lazy-nvim is the way to go
-Internet says: "NO!"
-shit my pants
what do?? how to convert vim plug instruction to lazy-nvim instruction?

@Beyonder616
Copy link

Beyonder616 commented Jun 6, 2024

Put this in lazy_init.lua(if you followed the tutorials from Prime's youtube):
{
"thePrimeagen/vim-be-good",
cmd = "VimBeGood",
config = function()
require("VimBeGood").setup {}
end,
},

Then create a vimbegood.lua file in your lazy folder where you have the plugin configs, where you will have to add this:
return {
"thePrimeagen/vim-be-good",
cmd = "VimBeGood",
config = function()
require("VimBeGood").setup {}
end,
}

You might still get some errors like I did, but it will work afterwards, good luck!

@rtim75
Copy link

rtim75 commented Jun 6, 2024

CleanShot 2024-06-06 at 21 11 01@2x
the plugin doesn't have a setup function (I hope I'm right on this one). You can just do

{
    'ThePrimeagen/vim-be-good'
}

works perfectly for me

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