fix(neovim): only remove lspconfig config, keep conform and other starter plugins

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MDietermann
2026-04-10 15:27:06 +02:00
parent b512d41dc8
commit 9c38a8414e

View File

@@ -95,9 +95,8 @@ if $NVCHAD_FRESH; then
fi
# ── Strip starter's nvim-lspconfig block (we use native vim.lsp) ─
# Also remove configs/ dir — we don't use the legacy lspconfig setup
sed -i '/neovim\/nvim-lspconfig/,/},/d' "$NVIM_CFG/lua/plugins/init.lua"
rm -f "$NVIM_CFG/lua/configs/lspconfig.lua" "$NVIM_CFG/lua/configs/conform.lua"
rm -f "$NVIM_CFG/lua/configs/lspconfig.lua"
# ── Restore migrated plugins ─────────────────────────────────────
if [[ -d "$MIGRATED_PLUGINS_DIR" ]] && ls "$MIGRATED_PLUGINS_DIR"/*.lua &>/dev/null; then