-
I had a config like this in Packer: use {
"https://github.com/neovim/nvim-lspconfig",
as = "lspconfig",
config = function()
lsp_setup = function(server, config, before)
-- ...
end
end,
},
use {
"https://github.com/jose-elias-alvarez/null-ls.nvim",
as = "null-ls",
after = "lspconfig",
config = function()
local null_ls = require "null-ls"
lsp_setup(null_ls, {
-- ...
})
end,
}, When I migrated this config to As suggested by the docs, I tried using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
just setup null-ls inside your config for lspconfig. no need to pecify dependencies here. |
Beta Was this translation helpful? Give feedback.
-
@folke This doesn't really make sense if you have shared setup that needs to go before multiple dependents. |
Beta Was this translation helpful? Give feedback.
just setup null-ls inside your config for lspconfig. no need to pecify dependencies here.