Merge branch 'main' into v0.8

This commit is contained in:
raf 2025-09-02 16:49:01 +03:00 committed by Ching Pei Yang
commit 0246376cdd
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
8 changed files with 28 additions and 23 deletions

View file

@ -38,7 +38,7 @@
type = nullOr luaInline;
default = null;
example = literalExpression ''
mkLuaInline '''
lib.generators.mkLuaInline '''
function()
print("Saving a Lua file...")
end

View file

@ -71,6 +71,9 @@ in {
require('catppuccin').setup {
flavour = "${style}",
transparent_background = ${boolToString transparent},
float = {
transparent = ${boolToString transparent},
},
term_colors = true,
integrations = {
nvimtree = {

View file

@ -9,14 +9,16 @@ in {
setupOpts = mkPluginSetupOption "image.nvim" {
backend = mkOption {
type = enum ["kitty" "ueberzug"];
type = enum ["kitty" "ueberzug" "sixel"];
default = "ueberzug";
description = ''
The backend to use for rendering images.
- kitty - best in class, works great and is very snappy
- ueberzug - backed by ueberzugpp, supports any terminal,
* `kitty` - best in class, works great and is very snappy. Recommended
by upstream.
* `ueberzug` - backed by ueberzugpp, supports any terminal,
but has lower performance
* `sixel` - uses the Sixel graphics protocol, widely supported by many terminals
'';
};

View file

@ -145,7 +145,7 @@ in {
];
lazy.builtLazyConfig = ''
require('lz.n').load(${toLuaObject lznSpecs})
${optionalString (length lznSpecs > 0) "require('lz.n').load(${toLuaObject lznSpecs})"}
${optionalString cfg.enableLznAutoRequire "require('lzn-auto-require').enable()"}
'';
})