chore: autogen (vimdocs+formating)
This commit is contained in:
parent
5d85dc7858
commit
e7efd7dd3a
|
@ -708,6 +708,7 @@ Component specific options These are options that are available on
|
|||
lualine_a = {
|
||||
{
|
||||
'tabs',
|
||||
tab_max_length = 40, -- Maximum width of each tab. The content will be shorten dynamically (example: apple/orange -> a/orange)
|
||||
max_length = vim.o.columns / 3, -- Maximum width of tabs component.
|
||||
-- Note:
|
||||
-- It can also be a function that returns
|
||||
|
@ -716,6 +717,11 @@ Component specific options These are options that are available on
|
|||
-- 1: Shows tab_name
|
||||
-- 2: Shows tab_nr + tab_name
|
||||
|
||||
path = 0, -- 0: just shows the filename
|
||||
-- 1: shows the relative path and shorten $HOME to ~
|
||||
-- 2: shows the full path
|
||||
-- 3: shows the full path and shorten $HOME to ~
|
||||
|
||||
-- Automatically updates active tab color to match color of other components (will be overidden if buffers_color is set)
|
||||
use_mode_colors = false,
|
||||
|
||||
|
@ -725,6 +731,11 @@ Component specific options These are options that are available on
|
|||
inactive = 'lualine_{section}_inactive', -- Color for inactive tab.
|
||||
},
|
||||
|
||||
show_modified_status = true, -- Shows a symbol next to the tab name if the file has been modified.
|
||||
symbols = {
|
||||
modified = '[+]', -- Text to show when the file is modified.
|
||||
},
|
||||
|
||||
fmt = function(name, context)
|
||||
-- Show + if buffer is modified in tab
|
||||
local buflist = vim.fn.tabpagebuflist(context.tabnr)
|
||||
|
|
|
@ -33,7 +33,6 @@ function Tab:get_props()
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
---returns name for tab. Tabs name is the name of buffer in last active window
|
||||
|
|
Loading…
Reference in New Issue