From 2d9ed00606be2f8c63aba719d00adf70fe6d4393 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 20 May 2026 13:56:09 +0100 Subject: refactor(nvim,zsh): remove Mason; use Home-Manager-provisioned tooling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LSPs, formatters, linters, and the lldb-dap debugger now come from ~/.nix-profile/bin (see nix/common.nix). lspconfig keeps the default configs; we just opt-in via vim.lsp.enable() with an explicit list. Changes: - dot_config/nvim/lua/plugins/lsp.lua: drop mason*, replace mason-lspconfig handler with explicit vim.lsp.enable({...}); drop groovy/jenkins formatters and lint entries; drop systemd lint (nginx + groovy + systemdlint tools dropped per plan). - dot_config/nvim/lua/plugins/debug.lua: drop mason-nvim-dap; drop codelldb adapter; switch dap.configurations.cpp to type='lldb' (lldb-dap is the upstream successor, ships with pkgs.lldb). - dot_config/nvim/init.lua: remove mason.nvim, mason-lspconfig.nvim, mason-tool-installer.nvim, mason-nvim-dap.nvim from vim.pack.add. - dot_config/nvim/lua/config/update.lua: remove MasonToolsUpdateSync. - dot_config/zsh/dot_zshrc: flip plugin source order — prefer ~/.nix-profile/share, fall back to /usr/share/zsh (was the other way around). - nix/bootstrap.sh: drop the uv-python3.11 step (no longer needed once Mason no longer source-builds Python LSPs on Ubuntu 20.04). Phase 6 of the nix-on-host migration plan. --- dot_config/nvim/init.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'dot_config/nvim/init.lua') diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua index 32873d3..7559556 100644 --- a/dot_config/nvim/init.lua +++ b/dot_config/nvim/init.lua @@ -68,9 +68,6 @@ vim.pack.add({ gh("folke/lazydev.nvim"), gh("neovim/nvim-lspconfig"), gh("j-hui/fidget.nvim"), - gh("williamboman/mason.nvim"), - gh("williamboman/mason-lspconfig.nvim"), - gh("WhoIsSethDaniel/mason-tool-installer.nvim"), gh("stevearc/conform.nvim"), gh("mrcjkb/rustaceanvim"), gh("mfussenegger/nvim-lint"), @@ -80,7 +77,6 @@ vim.pack.add({ { src = gh("miroshQa/debugmaster.nvim"), version = "dashboard" }, gh("mfussenegger/nvim-dap"), gh("theHamsta/nvim-dap-virtual-text"), - gh("jay-babu/mason-nvim-dap.nvim"), -- Runner gh("stevearc/overseer.nvim"), -- cgit v1.3.1