Format/Lint
This commit is contained in:
@@ -92,10 +92,9 @@ end
|
|||||||
---@param source_id string
|
---@param source_id string
|
||||||
core.unregister_source = function(source_id)
|
core.unregister_source = function(source_id)
|
||||||
local name = core.sources[source_id].name
|
local name = core.sources[source_id].name
|
||||||
core.sources_by_name[name] = vim.tbl_filter(
|
core.sources_by_name[name] = vim.tbl_filter(function(s)
|
||||||
function (source)
|
return s.id ~= source_id
|
||||||
return source.id ~= source_id
|
end, core.sources_by_name[name])
|
||||||
end, core.sources_by_name[name])
|
|
||||||
core.sources[source_id] = nil
|
core.sources[source_id] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user