-
-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
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
return {'nvim-java/nvim-java'}
Then in ${XDG_CONFIG_HOME}/nvim/init.lua
...
require('java').setup()
require('lspconfig').jdtls.setup({})
...
Because the nvim-tree.lua does NOT set the config or opts to a value, Lazy would not call the require('java').setup(opts) itself. Is that correct ?
I am also asking about the ordering requirements between the require('java').setup() and require('lspconfig').jdtls.setup({}) . I have them both listed flat in the init.lua file. While that works, I am wondering is there a better idiomatic (n)vim or lazy way to describe that dependency ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels