diff options
| author | William Boman <william@redwill.se> | 2022-07-14 17:27:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 17:27:12 +0200 |
| commit | 63de62cd0b0b53c5946d67ee2a3c2dac16379707 (patch) | |
| tree | 54d69e3bc51370787dfef71856747727ed5a84d5 /lua/mason-core/managers/go/init.lua | |
| parent | fix(arduino_language_server): fix Windows asset files (#72) (diff) | |
| download | mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.gz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.bz2 mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.lz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.xz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.zst mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.zip | |
chore: change emmylua annotation syntax from @ to : for comments (#73)
Diffstat (limited to 'lua/mason-core/managers/go/init.lua')
| -rw-r--r-- | lua/mason-core/managers/go/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/mason-core/managers/go/init.lua b/lua/mason-core/managers/go/init.lua index dbdfdc45..9c969409 100644 --- a/lua/mason-core/managers/go/init.lua +++ b/lua/mason-core/managers/go/init.lua @@ -24,7 +24,7 @@ local function with_receipt(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The go packages to install. The first item in this list will be the recipient of the requested version, if set. +---@param packages { [number]: string, bin: string[] | nil }: The go packages to install. The first item in this list will be the recipient of the requested version, if set. function M.packages(packages) return function() M.install(packages).with_receipt() @@ -32,7 +32,7 @@ function M.packages(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The go packages to install. The first item in this list will be the recipient of the requested version, if set. +---@param packages { [number]: string, bin: string[] | nil }: The go packages to install. The first item in this list will be the recipient of the requested version, if set. function M.install(packages) local ctx = installer.context() local env = { @@ -66,7 +66,7 @@ function M.install(packages) } end ----@param output string @The output from `go version -m` command. +---@param output string: The output from `go version -m` command. function M.parse_mod_version_output(output) ---@type {path: string[], mod: string[], dep: string[], build: string[]} local result = {} |
