Skip to content

Commit

Permalink
docs(readme): add note on having to set opt = true
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jun 17, 2024
1 parent c6e0be3 commit 9dbcc14
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,15 @@ and you are good to go!

### Via `rocks.toml`

With this module installed, you can add the following fields to a `[plugins]` entry
in your `rocks.toml`:
With this module installed, you can add the fields that tell `rocks-lazy.nvim`
how to lazy-load to a `[plugins]` entry in your `rocks.toml`.

> [!IMPORTANT]
>
> Because rocks.nvim currently does not have an API to hook into plugin loading[^1],
> you must set `opt = true` for any plugins you want to lazy-load.
[^1]: This may change as rocks.nvim matures.

#### `event`

Expand Down

0 comments on commit 9dbcc14

Please sign in to comment.