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 = {
lualine_a = { 'FugitiveHead' },
lualine_z = { 'location' },
}
M.inactive_sections = {
lualine_a = { 'FugitiveHead' },
}
M.inactive_sections = M.sections
M.filetypes = { 'fugitive' }

View File

@ -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' }

View File

@ -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' }