docs(readme): Emphasize that setup must be written to init.lua

This commit is contained in:
MasouShizuka
2025-05-17 20:48:28 +08:00
parent 4f11eccf83
commit df44165610

View File

@@ -83,7 +83,7 @@ desc = "Save last project and exit the process"
---
Additionally there are configurations that can be done using the plugin's `setup` function in Yazi's `init.lua`, i.e. `~/.config/yazi/init.lua`.
Don't forget to add the plugin's `setup` function in Yazi's `init.lua`, i.e. `~/.config/yazi/init.lua`.
The following are the default configurations:
```lua
@@ -111,6 +111,9 @@ require("projects"):setup({
})
```
> [!NOTE]
> Settings that are not set will use the default value.
### `save`
> [!NOTE]