From 4166a79b7da07b6f38efbdc26aa753a807698452 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 18 Jun 2025 13:42:08 +0200 Subject: [PATCH] Defeat misbehaving mason slopware --- lua/plugins/nvim-lspconfig.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/plugins/nvim-lspconfig.lua b/lua/plugins/nvim-lspconfig.lua index a825b37..1d2bd12 100644 --- a/lua/plugins/nvim-lspconfig.lua +++ b/lua/plugins/nvim-lspconfig.lua @@ -6,7 +6,7 @@ return { -- LSP Configuration & Plugins dependencies = { -- Automatically install LSPs and related tools to stdpath for Neovim { 'williamboman/mason.nvim', config = true }, -- NOTE: Must be loaded before dependants - 'williamboman/mason-lspconfig.nvim', + { 'williamboman/mason-lspconfig.nvim' }, 'WhoIsSethDaniel/mason-tool-installer.nvim', -- Useful status updates for LSP. @@ -216,6 +216,8 @@ return { -- LSP Configuration & Plugins require('mason-tool-installer').setup { ensure_installed = ensure_installed } require('mason-lspconfig').setup { + ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer) + automatic_installation = false, handlers = { function(server_name) local server = servers[server_name] or {}