feat: moved neoconf.nvim to extras

This commit is contained in:
Folke Lemaitre
2024-06-02 09:05:16 +02:00
parent 8024201e75
commit c14d21ce75
3 changed files with 12 additions and 10 deletions

View File

@ -81,11 +81,6 @@ return {
},
},
},
-- VsCode launch.json parser
{
"folke/neoconf.nvim",
},
},
-- stylua: ignore

View File

@ -0,0 +1,12 @@
return {
{
"neovim/nvim-lspconfig",
dependencies = {
{
"folke/neoconf.nvim",
cmd = "Neoconf",
opts = {},
},
},
},
}

View File

@ -4,7 +4,6 @@ return {
"neovim/nvim-lspconfig",
event = "LazyFile",
dependencies = {
{ "folke/neoconf.nvim", cmd = "Neoconf", config = false, dependencies = { "nvim-lspconfig" } },
{ "folke/neodev.nvim", opts = {} },
"mason.nvim",
"williamboman/mason-lspconfig.nvim",
@ -119,10 +118,6 @@ return {
end,
---@param opts PluginLspOpts
config = function(_, opts)
if LazyVim.has("neoconf.nvim") then
require("neoconf").setup(LazyVim.opts("neoconf.nvim"))
end
-- setup autoformat
LazyVim.format.register(LazyVim.lsp.formatter())