nanozuki / tabby.nvim

A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
MIT License
570 stars 20 forks source link

missing argument guibg= #55

Closed Maddin-619 closed 2 years ago

Maddin-619 commented 2 years ago

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
nanozuki commented 2 years ago

Thank you! I fixed it.