Skip to content

Commit

Permalink
fix(lua): annotations for workspace event
Browse files Browse the repository at this point in the history
  • Loading branch information
alemidev committed Oct 26, 2024
1 parent b398c01 commit 17bcbdf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/lua/annotations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ function Workspace:fetch_users(path) end
function Workspace:fetch_buffer_users(path) end

---@class (exact) WorkspaceEvent
---@field type string
---@field value string
---@field type string can be "UserJoin", "UserLeave" or "FileTreeUpdated"
---@field name? string present for "UserJoin" and "UserLeave"
---@field path? string present for "FileTreeUpdated"

---@return MaybeWorkspaceEventPromise
---@async
Expand Down

0 comments on commit 17bcbdf

Please sign in to comment.