From e831cfa9c5812822a40b229fb312bd03c990d68f Mon Sep 17 00:00:00 2001 From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> Date: Thu, 26 Aug 2021 18:09:59 +0600 Subject: [PATCH] Reintroduce docs for component specific transitional separators This reverts commit fd5f635f4fb5aa716bd7f642f0132bbdf68c906d. --- README.md | 6 ++++++ doc/lualine.txt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 480f36b..d19d8a6 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,12 @@ sections = { 'mode', icon = nil, -- displays icon in front of the component separator = nil, -- Determines what separator to use for the component. + -- when a string is given it's treated as component_separator. + -- When a table is given it's treated as section_separator. + -- This options can be used to set colored separators + -- arround component. Option need to be set like `separator = {'', ''}`. + -- Where first element is left_separator and 2nd element is right separator. + -- Passing empty string disables that separator condition = nil, -- condition function, component is loaded when function returns true -- custom color for component in format -- color = {fg = '#rrggbb', bg= '#rrggbb', gui='style'} diff --git a/doc/lualine.txt b/doc/lualine.txt index 0da330d..8663f4e 100644 --- a/doc/lualine.txt +++ b/doc/lualine.txt @@ -215,6 +215,12 @@ Local options~ 'mode', icon = nil, -- displays icon in front of the component separator = nil, -- Determines what separator to use for the component. + -- when a string is given it's treated as component_separator. + -- When a table is given it's treated as section_separator. + -- This options can be used to set colored separators + -- arround component. Option need to be set like `separator = {'', ''}`. + -- Where first element is left_separator and 2nd element is right separator. + -- Passing empty string disables that separator condition = nil, -- condition function, component is loaded when function returns true -- custom color for component in format -- color = {fg = '#rrggbb', bg= '#rrggbb', gui='style'}