use system managed lua-language-server
This commit is contained in:
parent
dd8cc0eaf2
commit
6540e4cee4
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue