Skip to content

Commit

Permalink
docs(lsp): wrong type for level in DiagnosticIndicator (akinsho#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
skanehira authored and sstallion committed Jul 3, 2024
1 parent 38c0bb8 commit a71be0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/bufferline/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

---@alias bufferline.Mode 'tabs' | 'buffers'

---@alias bufferline.DiagnosticIndicator fun(count: number, level: number, errors: table<string, any>, ctx: table<string, any>): string
---@alias bufferline.DiagnosticIndicator fun(count: number, level: string, errors: table<string, any>, ctx: table<string, any>): string

---@alias bufferline.HoverOptions {reveal: string[], delay: integer, enabled: boolean}
---@alias bufferline.IconFetcherOpts {directory: boolean, path: string, extension: string, filetype: string?}
Expand Down

0 comments on commit a71be0c

Please sign in to comment.