Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Jan 11, 2024
1 parent 6b5b571 commit e670353
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/lsp-progress.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ local function spin(client_id, token)
event.emit()
end

--- @param client table<any, any>
--- @param progress table<any, any>
--- @alias lsp_progress.LspClientObj {id:lsp_progress.ClientId,name:string}
--- @alias lsp_progress.LspProgressObj {token:lsp_progress.SeriesToken,value:{kind:"begin"|"report"|"end",title:string?,message:string?,percentage:integer?}}
--- @param client lsp_progress.LspClientObj
--- @param progress lsp_progress.LspProgressObj
local function update_progress(client, progress)
local client_id = client.id
local client_name = client.name

Check warning on line 169 in lua/lsp-progress.lua

View check run for this annotation

Codecov / codecov/patch

lua/lsp-progress.lua#L168-L169

Added lines #L168 - L169 were not covered by tests
Expand Down

0 comments on commit e670353

Please sign in to comment.