Skip to content

Is it possible to have multiple calls for packer? #536

Answered by grundic
samrxth asked this question in Q&A
Discussion options

You must be logged in to vote

I found myself in the same situation and it seems I found nice solution for this.

Some background about my setup: I'm using vcsh and mr to manage my dotfiles. Any of the tool configuration could have multiple sources: the primary one, which I use everywhere and keep in my public repository and auxiliary one, which is usually referenced to particular environment (e.g. corporate settings) and is stored secretly.

Therefore, I have my primary plugins.lua with the following content:

plugins.lua

return require('packer').startup(function()
  -- Packer can manage itself                                                                                                                                 …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@samrxth
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by samrxth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants