plugins/image: add support for sixel backend
This commit is contained in:
parent
ef367c456b
commit
b999bdf5e1
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
[
|
||||
"kitty"
|
||||
"ueberzug"
|
||||
"sixel"
|
||||
]
|
||||
''
|
||||
All the backends support rendering inside Tmux.
|
||||
|
|
@ -36,6 +37,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
- kitty - best in class, works great and is very snappy
|
||||
- ueberzug - backed by ueberzugpp, supports any terminal, but has lower performance
|
||||
- Supports multiple images thanks to @jstkdng.
|
||||
- sixel - uses the Sixel graphics protocol, widely supported by many terminals
|
||||
- Works with XTerm, WezTerm, foot, and other Sixel-compatible terminals
|
||||
- ImageMagick is required for Sixel encoding
|
||||
|
||||
> [!Note]
|
||||
> When choosing the `"ueberzug"` backend, nixvim will automatically add `ueberzugpp` as a dependency.
|
||||
|
|
@ -135,5 +139,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
name = "ueberzug";
|
||||
enable = config.plugins.image.settings.backend == "ueberzug";
|
||||
}
|
||||
{
|
||||
name = "imagemagick";
|
||||
enable = config.plugins.image.settings.backend == "sixel";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue