From 1be2eefc305b7dbffb618f7fdae830ee594f150c Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Tue, 13 May 2025 11:01:03 +0200 Subject: docs: make clear that `setup` is required --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed3a3ff4..a0c7c5cc 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,10 @@ your personal usage, some of these will also need to be installed. Refer to `:ch ```lua use { - "mason-org/mason.nvim" + "mason-org/mason.nvim", + config = function() + require("mason").setup() -- setup call required + end, } ``` @@ -99,7 +102,8 @@ use { ```lua { - "mason-org/mason.nvim" + "mason-org/mason.nvim", + opts = {}, -- required even if empty } ``` @@ -117,6 +121,8 @@ Plug 'mason-org/mason.nvim' require("mason").setup() ``` +The `setup` call is required. + `mason.nvim` is optimized to load as little as possible during setup. Lazy-loading the plugin, or somehow deferring the setup, is not recommended. -- cgit v1.2.3-70-g09d2