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

Automatically bootstrap Neovim when Neovim is started. #52

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

Conversation

Traap
Copy link

@Traap Traap commented Feb 15, 2023

This pull request assumes you are willing to run the dev command to completely remove your current Neovim configuration. Then restarting Neovim will automagically bootstrap packer and all plugins. Each plugin is now protected using pcall. If the plugin exists, commands are executed.

README is updated with extra credit notes for the fearless.

1. dev function completely removes a prior Neovim installation and reset
   the default Neovim (init.lua) to reference this directory.

2. theprimeagen/bootstrap is added to automatically install packer when necessary.

3. each plugin uses pcall to prevent its use prior to loading.

4. theprimeagen/init directly references bootstrap and packer.
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.

1 participant