diff --git a/MIGRATION_PLAN.md b/MIGRATION_PLAN.md index 15169de..0d81e77 100644 --- a/MIGRATION_PLAN.md +++ b/MIGRATION_PLAN.md @@ -493,10 +493,7 @@ Notes: - Plugin approval policy: unlisted plugins may be proposed, but must be explicitly confirmed before installation. Known Issues / Follow-ups: -- lua-language-server (lua_ls) from Mason failed to start due to missing shared library `libbfd-2.38-system.so`. Options: - - Install lua-language-server via system package manager compatible with your distro. - - Provide the required `libbfd` or adjust symlink to match expected soname. - - Skip lua_ls for now; validation done with other servers (jsonls, intelephense). +- lua-language-server (lua_ls) from Mason failed to start due to missing shared library `libbfd-2.38-system.so`. **RESOLVED**: Installed lua-language-server via system package manager (pacman) instead of Mason. Removed `lua_ls` from Mason's ensure_installed list in `lua/plugins/mason-lspconfig.lua`. - LSP root detection: In some cases, the parent repository is picked as the root (e.g., when a workspace lives inside another repo). Workaround: create an empty `.git` directory (or a marker like `.nvimroot`) in the intended workspace root to pin the project root for LSPs. Decisions & Changes: diff --git a/lua/plugins/mason-lspconfig.lua b/lua/plugins/mason-lspconfig.lua index 62f3dc3..4344990 100644 --- a/lua/plugins/mason-lspconfig.lua +++ b/lua/plugins/mason-lspconfig.lua @@ -4,8 +4,8 @@ return { config = function() require("mason-lspconfig").setup({ -- mason-lspconfig currently expects the legacy name "tsserver" + -- Note: lua_ls installed via system package manager (not Mason) ensure_installed = { - "lua_ls", "ts_ls", "html", "cssls",