From c66854fc7ffe662b2f03968ecb97d749091ec3fc Mon Sep 17 00:00:00 2001 From: diniamo Date: Sun, 16 Jun 2024 19:47:13 +0200 Subject: [PATCH] tabline/bufferline: add separator_style --- .../tabline/nvim-bufferline/nvim-bufferline.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix b/modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix index 677607b..94236aa 100644 --- a/modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix +++ b/modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix @@ -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;