refactor: simplified extension sections
This commit is contained in:
parent
2f53c50e39
commit
74323eb08b
|
@ -5,11 +5,10 @@ local M = {}
|
|||
|
||||
M.sections = {
|
||||
lualine_a = { 'FugitiveHead' },
|
||||
lualine_z = { 'location' },
|
||||
}
|
||||
|
||||
M.inactive_sections = {
|
||||
lualine_a = { 'FugitiveHead' },
|
||||
}
|
||||
M.inactive_sections = M.sections
|
||||
|
||||
M.filetypes = { 'fugitive' }
|
||||
|
||||
|
|
|
@ -11,9 +11,7 @@ M.sections = {
|
|||
lualine_a = { fzf_statusline },
|
||||
}
|
||||
|
||||
M.inactive_sections = {
|
||||
lualine_a = { fzf_statusline },
|
||||
}
|
||||
M.inactive_sections = M.sections
|
||||
|
||||
M.filetypes = { 'fzf' }
|
||||
|
||||
|
|
|
@ -7,9 +7,7 @@ M.sections = {
|
|||
lualine_a = { vim.fn.getcwd },
|
||||
}
|
||||
|
||||
M.inactive_sections = {
|
||||
lualine_a = { vim.fn.getcwd },
|
||||
}
|
||||
M.inactive_sections = M.sections
|
||||
|
||||
M.filetypes = { 'nerdtree' }
|
||||
|
||||
|
|
Loading…
Reference in New Issue