Format with stylua

This commit is contained in:
hrsh7th
2024-12-10 03:04:32 +00:00
committed by github-actions[bot]
parent 1d57252744
commit 3403e2e939

View File

@@ -57,8 +57,8 @@ cmp.register_source = function(name, s)
vim.api.nvim_exec_autocmds('User', { vim.api.nvim_exec_autocmds('User', {
pattern = 'CmpRegisterSource', pattern = 'CmpRegisterSource',
data = { data = {
source_id = src.id source_id = src.id,
} },
}) })
return src.id return src.id
end end
@@ -71,8 +71,8 @@ cmp.unregister_source = function(id)
vim.api.nvim_exec_autocmds('User', { vim.api.nvim_exec_autocmds('User', {
pattern = 'CmpUnregisterSource', pattern = 'CmpUnregisterSource',
data = { data = {
source_id = id source_id = id,
} },
}) })
end end
end end