From d68631d2c02bd31d937349d739c625cc81dd9ac1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 08:10:59 +0600 Subject: [PATCH] chore: generated vimdoc (#468) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- doc/lualine.txt | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/doc/lualine.txt b/doc/lualine.txt index afbe426..ddffcd5 100644 --- a/doc/lualine.txt +++ b/doc/lualine.txt @@ -281,8 +281,13 @@ use. LUA EXPRESSIONS AS LUALINE COMPONENT -You can use any valid lua expression as a component including * oneliners * -global variables * require statements +You can use any valid lua expression as a component including + + +- oneliners +- global variables +- require statements + > sections = {lualine_c = {"os.date('%a')", 'data', "require'lsp-status'.status()"}} @@ -296,8 +301,12 @@ global variables * require statements COMPONENT OPTIONS ~ Component options can change the way a component behave. There are two kinds of -options: * global options affecting all components * local options affecting -specific +options: + + +- global options affecting all components +- local options affecting specific + Global options can be used as local options (can be applied to specific components) but you cannot use local options as global. Global option used @@ -416,7 +425,7 @@ Component specific options These are options that are available on { 'buffers', show_filename_only = true, -- shows shortened relative path when false - show_modified_status = true -- shows indicator then buffer is modified + show_modified_status = true, -- shows indicator then buffer is modified mode = 0, -- 0 shows buffer name -- 1 buffer index (bufnr) -- 2 shows buffer name + buffer index (bufnr)