refactor(providers): Let get_status() return a list of strings instead

This commit is contained in:
hedy
2023-11-19 19:02:00 +08:00
parent 9b90379c7a
commit 3762402dd3
3 changed files with 4 additions and 5 deletions

View File

@@ -10,9 +10,9 @@ local M = {
function M.get_status()
if not M.client then
return 'No clients'
return { 'No clients' }
end
return 'client: ' .. M.client.name
return { 'client: ' .. M.client.name }
end
local function get_params()