fix: test errors in lualine_spec

This commit is contained in:
shadmansaleh 2022-03-18 07:02:19 +06:00
parent 60b1d5dce9
commit 399aaa564d
1 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ local function set_tabline()
vim.go.tabline = "%{%v:lua.require'lualine'.tabline()%}" vim.go.tabline = "%{%v:lua.require'lualine'.tabline()%}"
vim.go.showtabline = 2 vim.go.showtabline = 2
elseif vim.go.tabline == "%{%v:lua.require'lualine'.tabline()%}" then elseif vim.go.tabline == "%{%v:lua.require'lualine'.tabline()%}" then
vim.go.tabline = nil vim.go.tabline = ''
vim.go.showtabline = 1 vim.go.showtabline = 1
end end
end end
@ -271,7 +271,7 @@ local function set_statusline()
vim.go.statusline = "%{%v:lua.require'lualine'.statusline()%}" vim.go.statusline = "%{%v:lua.require'lualine'.statusline()%}"
vim.go.laststatus = config.options.globalstatus and 3 or 2 vim.go.laststatus = config.options.globalstatus and 3 or 2
elseif vim.go.statusline == "%{%v:lua.require'lualine'.statusline()%}" then elseif vim.go.statusline == "%{%v:lua.require'lualine'.statusline()%}" then
vim.go.statusline = nil vim.go.statusline = ''
vim.go.laststatus = 2 vim.go.laststatus = 2
end end
end end