aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-07 04:29:51 +0200
committerWilliam Boman <william@redwill.se>2022-07-07 04:29:51 +0200
commit9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa (patch)
tree5c55a92111604656cdcf323a93a98688402da31f
parenttest(async): fix flaky test (diff)
downloadmason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar.gz
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar.bz2
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar.lz
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar.xz
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.tar.zst
mason-9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa.zip
chore: some cleanup
-rw-r--r--README.md4
-rw-r--r--lua/mason.lua12
2 files changed, 2 insertions, 14 deletions
diff --git a/README.md b/README.md
index 8c12348c..169f8b04 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ linters, and formatters through a single interface. It runs everywhere Neovim ru
with only a small set of [external requirements](#requirements) needed.
Packages are installed to Neovim's `:h stdpath` by default. Executables are linked to a single `bin/` directory, which
-`mason.nvim` will add to the Neovim's PATH during setup, allowing easy access for the builtin shell/terminal as well as
-other 3rd party plugins.
+`mason.nvim` will add to Neovim's PATH during setup, allowing seamless access for Neovim builtins (shell, terminal,
+etc.) as well as other 3rd party plugins.
## Screenshots
diff --git a/lua/mason.lua b/lua/mason.lua
index 82da0570..f88a0db4 100644
--- a/lua/mason.lua
+++ b/lua/mason.lua
@@ -15,16 +15,4 @@ function M.setup(config)
require "mason.command-api"
end
----@param pkg_path string
-local function lazy_require(pkg_path)
- return setmetatable({}, {
- __index = function(_, k)
- return require(pkg_path)[k]
- end,
- __call = function(_, ...)
- return require(pkg_path)(...)
- end,
- })
-end
-
return M