Replies: 2 comments 15 replies
-
I'll post this in case it helps someone else but using priority and calling my config correctly, inside a function() ... end, has fixed my issue.
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My previous set-up was packer, to organise things I had separate _config.lua files to handle the setup() options of plugins I installed.
What I ended up with was a long list of config files I called after the plugins were loaded.
This is a very simple example of a tabline_config.lua files I use but others are much larger:
I've moved over to lazy and one of the things I wanted to do was call these files as part of the lazy config.
I can't get it to work as the order of plugins being loaded and configured is important.
A prime example is Plenary and Telescope. I must set up Plenary first as my Telescope set-up relies on it. But i just can't get it to work, always get error messages about Plenary being missing.
I want to move over to having all this code handled by files in the plugins directory but that would be a similar issue, how do I decide the order if they're just separate files in the directory that get loaded automatically?
Beta Was this translation helpful? Give feedback.
All reactions