diff options
| author | dapc11 <[email protected]> | 2022-10-17 04:52:49 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-16 22:52:49 -0400 | 
| commit | b7b9087d34d868e3cdbe84d38ac4214b3d8ce2f0 (patch) | |
| tree | fb42012262ef738015c8fef67b803c7fadc1631a /lua/lvim | |
| parent | 003060824b4830532f5efad0dbb73bf493b741a8 (diff) | |
fix: nil table in breadcrumbs in autocommand (#3267)
Diffstat (limited to 'lua/lvim')
| -rw-r--r-- | lua/lvim/core/breadcrumbs.lua | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/lua/lvim/core/breadcrumbs.lua b/lua/lvim/core/breadcrumbs.lua index 10f3f72f..ab5aa86d 100644 --- a/lua/lvim/core/breadcrumbs.lua +++ b/lua/lvim/core/breadcrumbs.lua @@ -162,10 +162,7 @@ local get_gps = function()  end  local excludes = function() -  if vim.tbl_contains(lvim.builtin.breadcrumbs.winbar_filetype_exclude, vim.bo.filetype) then -    return true -  end -  return false +  return vim.tbl_contains(lvim.builtin.breadcrumbs.winbar_filetype_exclude or {}, vim.bo.filetype)  end  M.get_winbar = function() | 
