diff --git a/lua/lualine/extensions/fugitive.lua b/lua/lualine/extensions/fugitive.lua index 1b26f91..32a28ea 100644 --- a/lua/lualine/extensions/fugitive.lua +++ b/lua/lualine/extensions/fugitive.lua @@ -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' } diff --git a/lua/lualine/extensions/fzf.lua b/lua/lualine/extensions/fzf.lua index 73f5835..19a176f 100644 --- a/lua/lualine/extensions/fzf.lua +++ b/lua/lualine/extensions/fzf.lua @@ -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' } diff --git a/lua/lualine/extensions/nerdtree.lua b/lua/lualine/extensions/nerdtree.lua index 884659e..2fd9f68 100644 --- a/lua/lualine/extensions/nerdtree.lua +++ b/lua/lualine/extensions/nerdtree.lua @@ -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' }