feat: moved neoconf.nvim to extras
This commit is contained in:
@ -81,11 +81,6 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- VsCode launch.json parser
|
||||
{
|
||||
"folke/neoconf.nvim",
|
||||
},
|
||||
},
|
||||
|
||||
-- stylua: ignore
|
||||
|
12
lua/lazyvim/plugins/extras/lsp/neoconf.lua
Normal file
12
lua/lazyvim/plugins/extras/lsp/neoconf.lua
Normal file
@ -0,0 +1,12 @@
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
{
|
||||
"folke/neoconf.nvim",
|
||||
cmd = "Neoconf",
|
||||
opts = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user