aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files 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.