refactor: simplified extension sections

This commit is contained in:
hoob3rt 2021-03-16 00:05:41 +01:00
parent 2f53c50e39
commit 74323eb08b
3 changed files with 4 additions and 9 deletions

View File

@ -5,11 +5,10 @@ local M = {}
M.sections = { M.sections = {
lualine_a = { 'FugitiveHead' }, lualine_a = { 'FugitiveHead' },
lualine_z = { 'location' },
} }
M.inactive_sections = { M.inactive_sections = M.sections
lualine_a = { 'FugitiveHead' },
}
M.filetypes = { 'fugitive' } M.filetypes = { 'fugitive' }

View File

@ -11,9 +11,7 @@ M.sections = {
lualine_a = { fzf_statusline }, lualine_a = { fzf_statusline },
} }
M.inactive_sections = { M.inactive_sections = M.sections
lualine_a = { fzf_statusline },
}
M.filetypes = { 'fzf' } M.filetypes = { 'fzf' }

View File

@ -7,9 +7,7 @@ M.sections = {
lualine_a = { vim.fn.getcwd }, lualine_a = { vim.fn.getcwd },
} }
M.inactive_sections = { M.inactive_sections = M.sections
lualine_a = { vim.fn.getcwd },
}
M.filetypes = { 'nerdtree' } M.filetypes = { 'nerdtree' }