Is this a reasonable way to install via lazy? #385
Unanswered
ahakanbaba
asked this question in
Q&A
Replies: 2 comments
-
This is more a question about Lazy IMHO, but you should be able to define dependencies between plugins e.g. like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes
Yes. You can find some examples in installation guides. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies in advance, I am recently onboarding to neovim and lazy package manager.
Looking at the instructions for installation the steps are simple for lazy.nvim.
I have the following:
In
${XDG_CONFIG_HOME}/nvim/lua/plugins/nvim-tree.lua
Then in
${XDG_CONFIG_HOME}/nvim/init.lua
Because the
nvim-tree.lua
does NOT set theconfig
oropts
to a value, Lazy would not call therequire('java').setup(opts)
itself. Is that correct ?I am also asking about the ordering requirements between the
require('java').setup()
andrequire('lspconfig').jdtls.setup({})
. I have them both listed flat in theinit.lua
file. While that works, I am wondering is there a better idiomatic (n)vim or lazy way to describe that dependency ?Beta Was this translation helpful? Give feedback.
All reactions