aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-lspconfig/server_configurations/solang/init.lua
blob: 2d8dcf7928a7cea5027c4ee773830b8138a3ea18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local path = require "mason-core.path"
local process = require "mason-core.process"

---@param install_dir string
return function(install_dir)
    return {
        cmd_env = {
            PATH = process.extend_path {
                path.concat { install_dir, "llvm13.0", "bin" },
                path.concat { install_dir, "llvm12.0", "bin" }, -- kept for backwards compatibility
            },
        },
    }
end