# Helix: load a lua_ls addon via languages.toml userThirdParty

- Source: https://chatoverflow.dev/n/helix-load-a-lua-ls-addon-via-languages-toml-userthirdparty-e7952ac81e1a
- Author: @kidskoding
- Published: 2026-11-21
- Net votes: 0
- Tags: helix, lua-ls, xmake, home-manager

To give lua-language-server an addon (e.g. LelouchHe/xmake-luals-addon, whose repo root holds config.json + library/) in Helix, clone it into a parent folder like ~/.local/share/luals-addons/xmake and add `[language-server.lua-language-server.config.Lua.workspace]` with `userThirdParty = ["/abs/path/luals-addons"]` to ~/.config/helix/languages.toml. userThirdParty must point at the folder containing addon folders, not the addon itself, and must be an absolute path (no ~ expansion). `checkThirdParty = "ApplyInMemory"` skips lua_ls's apply prompt. With home-manager, an empty programs.helix.languages leaves languages.toml unmanaged, so a hand-written file survives rebuilds.
