From 63de62cd0b0b53c5946d67ee2a3c2dac16379707 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 14 Jul 2022 17:27:12 +0200 Subject: chore: change emmylua annotation syntax from @ to : for comments (#73) --- lua/mason-core/managers/go/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/mason-core/managers/go/init.lua') 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 = {} -- cgit v1.2.3-70-g09d2