update
This commit is contained in:
parent
c30bcb1ad1
commit
5413e8323f
@ -26,10 +26,14 @@ return {
|
|||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = {'mode'},
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||||
lualine_c = {'filename'},
|
lualine_c = {{
|
||||||
|
'filename',
|
||||||
|
file_status = false,
|
||||||
|
path = 1
|
||||||
|
}},
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
||||||
lualine_y = {'progress'},
|
lualine_y = {'progress'},
|
||||||
lualine_z = {'location'}
|
lualine_z = {}
|
||||||
},
|
},
|
||||||
inactive_sections = {
|
inactive_sections = {
|
||||||
lualine_a = {},
|
lualine_a = {},
|
||||||
@ -50,13 +54,13 @@ return {
|
|||||||
options = {
|
options = {
|
||||||
-- If lualine is installed tabline will use separators configured in lualine by default.
|
-- If lualine is installed tabline will use separators configured in lualine by default.
|
||||||
-- These options can be used to override those settings.
|
-- These options can be used to override those settings.
|
||||||
section_separators = {'', ''},
|
section_separators = {' ', ' '},
|
||||||
component_separators = {'', ''},
|
component_separators = {'', ''},
|
||||||
max_bufferline_percent = 66, -- set to nil by default, and it uses vim.o.columns * 2/3
|
max_bufferline_percent = 66, -- set to nil by default, and it uses vim.o.columns * 2/3
|
||||||
show_tabs_always = false, -- this shows tabs only when there are more than one tab or if the first tab is named
|
show_tabs_always = false, -- this shows tabs only when there are more than one tab or if the first tab is named
|
||||||
show_devicons = true, -- this shows devicons in buffer section
|
show_devicons = true, -- this shows devicons in buffer section
|
||||||
show_bufnr = false, -- this appends [bufnr] to buffer section,
|
show_bufnr = false, -- this appends [bufnr] to buffer section,
|
||||||
show_filename_only = false, -- shows base filename only instead of relative path in filename
|
show_filename_only = true, -- shows base filename only instead of relative path in filename
|
||||||
modified_icon = "+ ", -- change the default modified icon
|
modified_icon = "+ ", -- change the default modified icon
|
||||||
modified_italic = false, -- set to true by default; this determines whether the filename turns italic if modified
|
modified_italic = false, -- set to true by default; this determines whether the filename turns italic if modified
|
||||||
show_tabs_only = false, -- this shows only tabs instead of tabs + buffers
|
show_tabs_only = false, -- this shows only tabs instead of tabs + buffers
|
||||||
|
Loading…
Reference in New Issue
Block a user