Configure neoconf explicitly before lspconfig
Because lazy's dependency resolution is unreliable
This commit is contained in:
parent
ab4f565cb5
commit
4ea16fa3f0
@ -7,9 +7,21 @@ spec.dependencies = {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"folke/neodev.nvim",
|
||||
{ "folke/neoconf.nvim", tag = "v1.2.2" },
|
||||
}
|
||||
|
||||
spec.config = function()
|
||||
local neoconf = require("neoconf")
|
||||
|
||||
neoconf.setup({
|
||||
-- ignore foreign imports
|
||||
import = {
|
||||
vscode = false,
|
||||
coc = false,
|
||||
nlsp = false,
|
||||
}
|
||||
})
|
||||
|
||||
local mason = require("mason")
|
||||
local mason_lspconfig = require("mason-lspconfig")
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
local spec = {
|
||||
"folke/neoconf.nvim",
|
||||
tag = "v1.2.2",
|
||||
}
|
||||
|
||||
spec.opts = {
|
||||
-- ignore foreign imports
|
||||
import = {
|
||||
vscode = false,
|
||||
coc = false,
|
||||
nlsp = false,
|
||||
}
|
||||
}
|
||||
|
||||
return spec
|
Loading…
Reference in New Issue
Block a user