Skip to content

Commit 9bc4ee8

Browse files
authored
Merge pull request #1468 from kevinschweikert/patch-1
2 parents bf68c0d + fe4dac4 commit 9bc4ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neogit/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ function M.check_integration(name)
11131113
local enabled = M.values.integrations[name]
11141114

11151115
if enabled == nil or enabled == "auto" then
1116-
local success, _ = pcall(require, name)
1116+
local success, _ = pcall(require, name:gsub("_", "-"))
11171117
logger.info(("[CONFIG] Found auto integration '%s = %s'"):format(name, success))
11181118
return success
11191119
end

0 commit comments

Comments
 (0)