nanozuki/tabby.nvim

missing argument guibg=

Closed this issue · 1 comments

Today after updating I got these error message:
Snipaste_2022-05-11_08-16-28

The error also appears with the default style.

Figured out, that hl.bg passes the vim.validate function (not nil) but is an empty string. Maybe we should check that too:

  if hl.bg ~= nil and hl.bg ~= "" then
    table.insert(cmd, 'guibg=' .. hl.bg)
  end

Thank you! I fixed it.