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

How to add this plugin in LazyVim add to Documentation #19

Open
KevoTHRASHER opened this issue Apr 21, 2024 · 1 comment
Open

How to add this plugin in LazyVim add to Documentation #19

KevoTHRASHER opened this issue Apr 21, 2024 · 1 comment

Comments

@KevoTHRASHER
Copy link

KevoTHRASHER commented Apr 21, 2024

Hi! developers

I am a newbie in NeoVim always use in old init.vim vimscipt config file and i love spaceduck theme.

Now want to migrate a new Lua config system (init.lua) and i want to use with LazyVim but no see the instructions to work with LazyVim only with Packer.

Please you can help me with the configuration?

only have to remove the keyword use or require other configuration maybe remove
parentheses

PACKER
use({ "spaceduck-theme/nvim", as = "spaceduck" })

LAZYVIM
{ "spaceduck-theme/nvim", as = "spaceduck" } OR
{ "spaceduck-theme/nvim", name = "spaceduck", priority = 1000 } OR
{ "spaceduck-theme/nvim", name = "spaceduck-theme", priority = 1000 }

I can contribute change the README.md but need your test and validations

Hi from México, sorry my bad English.

@pineapplegiant
Copy link

No te preocupes amigo. We can speak Spanish.

The Lazy Plugin has great documentation and a section on going from Packer to Lazy.

I think it should be the second one. Since it's a colorscheme you should make the priority higher:
{ "spaceduck-theme/nvim", name = "spaceduck", priority = 1000 }

The name attribute looks like it only updates the module-name inside of Lazy and not the name of the theme.

So if you change it to name='spaceduck-theme' it will look like this inside of Lazy:

spaceduckLazy

And if you wanted to use the Dev Branch you could also pass the branch='dev' flag inside there too.

Feel free to make a PR to the README. The theme still needs a lot of work!

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

2 participants