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

Fixed some issues with the packer.init() config example #1242

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

koshell
Copy link

@koshell koshell commented Jun 10, 2023

No description provided.

There were two issues I noticed with this. One was invalid function calls (`stdpath` instead of `vim.fn.stdpath`) and using undefined modules (`util.join_paths`).

The other was having the table represented in absence of context. Am I meant to pass it to packer.init()? Return it like the example from packer.startup()?

I've fixed the functions and added the needed require statements. I've also added how I believe it is meant to be passed to the packer.init() making it a drop in example.
Just adjusting the indent and use of ().
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

Successfully merging this pull request may close these issues.

None yet

3 participants