mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
fix(diagnostic): rename buffer → bufnr in type annotation (#23042)
See `:h diagnostic-structure`, the property name is `bufnr`, not `buffer`.
This commit is contained in:
parent
f5231d61a5
commit
37011bc45e
@ -744,7 +744,7 @@ function M.get_namespaces()
|
||||
end
|
||||
|
||||
---@class Diagnostic
|
||||
---@field buffer integer
|
||||
---@field bufnr integer
|
||||
---@field lnum integer 0-indexed
|
||||
---@field end_lnum nil|integer 0-indexed
|
||||
---@field col integer 0-indexed
|
||||
|
Loading…
Reference in New Issue
Block a user