fix: error message outside of git repo (#116)
in case ignored branches have been set and the current dir is not a git directory no more error messages will be thrownmain
parent
c157b89b5c
commit
ca9900c31e
|
|
@ -92,6 +92,9 @@ end
|
|||
---@param heystack table
|
||||
---@return boolean
|
||||
function M.table_match(needle, heystack, escape_fct)
|
||||
if needle == nil then
|
||||
return false
|
||||
end
|
||||
return heystack
|
||||
and next(vim.tbl_filter(function(pattern)
|
||||
if pattern.exact then
|
||||
|
|
|
|||
Loading…
Reference in New Issue