From 9ade30bfa2ad1cfc6b6fa0784b8882764b4e89fa Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 7 Jul 2022 04:29:51 +0200 Subject: chore: some cleanup --- README.md | 4 ++-- lua/mason.lua | 12 ------------ 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 -- cgit v1.2.3-70-g09d2