tabline/bufferline: add separator_style

This commit is contained in:
diniamo 2024-06-16 19:47:13 +02:00
parent 187d924509
commit c66854fc7f

View file

@ -1,6 +1,6 @@
{lib, ...}: let
inherit (lib.options) mkOption mkEnableOption literalExpression;
inherit (lib.types) enum bool either nullOr str int listOf attrs;
inherit (lib.types) enum bool either nullOr str int listOf attrs list;
inherit (lib.generators) mkLuaInline;
inherit (lib.nvim.binds) mkMappingOption;
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
@ -338,6 +338,16 @@ in {
'';
};
separator_style = mkOption {
type = enum ["slant" "slope" "thick" "thin" list];
default = "thin";
description = ''
The type of separator used to separate buffers and tabs.
Either one of the listed types, or a list of 2 characters for either side.
'';
};
enforce_regular_tabs = mkOption {
type = bool;
default = false;