aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/context/init.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2026-05-14 17:21:42 +0200
committerGitHub <noreply@github.com>2026-05-14 17:21:42 +0200
commit8e921c2b68571e978db5d4d3fef9c9a7f8755473 (patch)
treec16d4b5c8a6e33877c523d2e7ff714090432a8de /lua/mason-core/installer/context/init.lua
parentfix(pypi): add python 3.13 and 3.14 to list of fallbacks (#2081) (diff)
downloadmason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.gz
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.bz2
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.lz
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.xz
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.zst
mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.zip
feat: add the infrastructure to support "system" packages (#2085)HEADmain
This enables `mason.nvim` to start managing certain packages that: 1) are not suitable for the core registry 2) should not surface in existing APIs and UIs
Diffstat (limited to 'lua/mason-core/installer/context/init.lua')
-rw-r--r--lua/mason-core/installer/context/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason-core/installer/context/init.lua b/lua/mason-core/installer/context/init.lua
index ae96f986..9225315f 100644
--- a/lua/mason-core/installer/context/init.lua
+++ b/lua/mason-core/installer/context/init.lua
@@ -302,7 +302,7 @@ function InstallContext:build_receipt()
end
function InstallContext:get_install_path()
- return self.location:package(self.package.name)
+ return self.package:get_install_path(self.location)
end
return InstallContext