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/pip3/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/mason-core/managers/pip3/init.lua') diff --git a/lua/mason-core/managers/pip3/init.lua b/lua/mason-core/managers/pip3/init.lua index 9502e89e..4464c22c 100644 --- a/lua/mason-core/managers/pip3/init.lua +++ b/lua/mason-core/managers/pip3/init.lua @@ -28,7 +28,7 @@ local function with_receipt(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The pip 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 pip 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() return M.install(packages).with_receipt() @@ -36,7 +36,7 @@ function M.packages(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The pip 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 pip 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 pkgs = _.list_copy(packages) -- cgit v1.3.1