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/gem/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/gem/init.lua')
| -rw-r--r-- | lua/mason-core/managers/gem/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/mason-core/managers/gem/init.lua b/lua/mason-core/managers/gem/init.lua index 11019985..8b64d68a 100644 --- a/lua/mason-core/managers/gem/init.lua +++ b/lua/mason-core/managers/gem/init.lua @@ -25,7 +25,7 @@ local function with_receipt(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The Gem 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 Gem 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() @@ -33,7 +33,7 @@ function M.packages(packages) end ---@async ----@param packages { [number]: string, bin: string[] | nil } @The Gem 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 Gem 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 or {}) |
