diff --git a/lua/lualine/extensions/fzf.lua b/lua/lualine/extensions/fzf.lua index 4afda21..0a59801 100644 --- a/lua/lualine/extensions/fzf.lua +++ b/lua/lualine/extensions/fzf.lua @@ -4,10 +4,18 @@ local function fzf_statusline() return 'FZF' end +local empty = { + function() + return ' ' + end, + padding = 0, +} + local M = {} M.sections = { lualine_a = { fzf_statusline }, + lualine_x = { empty }, } M.filetypes = { 'fzf' } diff --git a/lua/lualine/extensions/nerdtree.lua b/lua/lualine/extensions/nerdtree.lua index 27b117b..52de858 100644 --- a/lua/lualine/extensions/nerdtree.lua +++ b/lua/lualine/extensions/nerdtree.lua @@ -4,10 +4,18 @@ local function get_short_cwd() return vim.fn.fnamemodify(vim.fn.getcwd(), ':~') end +local empty = { + function() + return ' ' + end, + padding = 0, +} + local M = {} M.sections = { lualine_a = { get_short_cwd }, + lualine_x = { empty }, } M.filetypes = { 'nerdtree' } diff --git a/lua/lualine/extensions/toggleterm.lua b/lua/lualine/extensions/toggleterm.lua index a9be001..f0e1efa 100644 --- a/lua/lualine/extensions/toggleterm.lua +++ b/lua/lualine/extensions/toggleterm.lua @@ -5,10 +5,18 @@ local function toggleterm_statusline() return 'ToggleTerm #' .. vim.b.toggle_number end +local empty = { + function() + return ' ' + end, + padding = 0, +} + local M = {} M.sections = { lualine_a = { toggleterm_statusline }, + lualine_x = { empty }, } M.filetypes = { 'toggleterm' }