Update: 2024-10-17

This commit is contained in:
2024-10-17 12:43:48 +03:00
parent eae6ecaebb
commit e2c877478c
68 changed files with 3579 additions and 1056 deletions

View File

@@ -7,7 +7,7 @@ Add a full border to Yazi to make it look fancier.
## Installation
```sh
ya pack -a yazi-rs/plugins#full-border
ya pack -a yazi-rs/plugins:full-border
```
## Usage
@@ -18,5 +18,15 @@ Add this to your `init.lua` to enable the plugin:
require("full-border"):setup()
```
This plugin overrides the [`Manager.render`](https://github.com/sxyazi/yazi/blob/latest/yazi-plugin/preset/components/manager.lua) method,
you might need to check if any other plugins that also need to override it are enabled.
Or you can customize the border type:
```lua
require("full-border"):setup {
-- Available values: ui.Border.PLAIN, ui.Border.ROUNDED
type = ui.Border.ROUNDED,
}
```
## License
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.