aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Grieser <73286100+chrisgrieser@users.noreply.github.com>2025-05-13 11:01:03 +0200
committerGitHub <noreply@github.com>2025-05-13 11:01:03 +0200
commit1be2eefc305b7dbffb618f7fdae830ee594f150c (patch)
tree876f9be1a6945a1e5d14814b1d9585051c44115d
parentdocs: update references to mason-org/mason.nvim (#1925) (diff)
downloadmason-chrisgrieser-patch-1.tar
mason-chrisgrieser-patch-1.tar.gz
mason-chrisgrieser-patch-1.tar.bz2
mason-chrisgrieser-patch-1.tar.lz
mason-chrisgrieser-patch-1.tar.xz
mason-chrisgrieser-patch-1.tar.zst
mason-chrisgrieser-patch-1.zip
docs: make clear that `setup` is requiredchrisgrieser-patch-1
-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.