mirror of
https://github.com/Ascyii/projects.yazi.git
synced 2026-01-01 11:34:24 -05:00
docs(readme): Emphasize that setup must be written to init.lua
This commit is contained in:
@@ -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:
|
The following are the default configurations:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
@@ -111,6 +111,9 @@ require("projects"):setup({
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Settings that are not set will use the default value.
|
||||||
|
|
||||||
### `save`
|
### `save`
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
|
|||||||
Reference in New Issue
Block a user