From 399aaa564de2e0999415b9f4990a32ec7176450a Mon Sep 17 00:00:00 2001 From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> Date: Fri, 18 Mar 2022 07:02:19 +0600 Subject: [PATCH] fix: test errors in lualine_spec --- lua/lualine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lualine.lua b/lua/lualine.lua index 72bb6e9..b49f76d 100644 --- a/lua/lualine.lua +++ b/lua/lualine.lua @@ -258,7 +258,7 @@ local function set_tabline() vim.go.tabline = "%{%v:lua.require'lualine'.tabline()%}" vim.go.showtabline = 2 elseif vim.go.tabline == "%{%v:lua.require'lualine'.tabline()%}" then - vim.go.tabline = nil + vim.go.tabline = '' vim.go.showtabline = 1 end end @@ -271,7 +271,7 @@ local function set_statusline() vim.go.statusline = "%{%v:lua.require'lualine'.statusline()%}" vim.go.laststatus = config.options.globalstatus and 3 or 2 elseif vim.go.statusline == "%{%v:lua.require'lualine'.statusline()%}" then - vim.go.statusline = nil + vim.go.statusline = '' vim.go.laststatus = 2 end end