feat: add method to configure roundess of borders (#11)
Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
@@ -18,5 +18,11 @@ 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.PLAIN,
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user