We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61018a8 commit a16651dCopy full SHA for a16651d
lua/lean/elan.lua
@@ -22,11 +22,13 @@ local elan = { toolchain = {} }
22
---@field path string the path to the toolchain on this machine
23
---@field resolved_name string the identifier for this toolchain
24
25
---List the installed toolchains.
+---List the installed toolchains.
26
+---@return string[] toolchains the toolchains
27
function elan.toolchain.list()
28
local state = elan.state()
29
return vim
30
.iter(state.toolchains.installed)
31
+ ---@param each ElanToolchain
32
:map(function(each)
33
return each.resolved_name
34
end)
0 commit comments