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)