mirror of
https://github.com/TimUntersberger/neogit
synced 2024-09-16 14:24:09 +02:00
pcall fzf-lua with the correct name when checking integrations
This commit is contained in:
parent
bf68c0dfe1
commit
fe4dac4683
1 changed files with 1 additions and 1 deletions
|
@ -1113,7 +1113,7 @@ function M.check_integration(name)
|
|||
local enabled = M.values.integrations[name]
|
||||
|
||||
if enabled == nil or enabled == "auto" then
|
||||
local success, _ = pcall(require, name)
|
||||
local success, _ = pcall(require, name:gsub("_", "-"))
|
||||
logger.info(("[CONFIG] Found auto integration '%s = %s'"):format(name, success))
|
||||
return success
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue