Format by stylua (#1195)

This commit is contained in:
yuys13
2022-09-27 12:27:31 +09:00
committed by GitHub
parent 83c097699d
commit 2427d06b65
4 changed files with 11 additions and 15 deletions

View File

@@ -184,7 +184,7 @@ cmp.confirm = cmp.sync(function(option, callback)
option = option or {}
option.select = option.select or false
option.behavior = option.behavior or cmp.get_config().confirmation.default_behavior or cmp.ConfirmBehavior.Insert
callback = callback or (function() end)
callback = callback or function() end
if cmp.core.view:visible() then
local e = cmp.core.view:get_selected_entry()