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:
Mathias Fußenegger 2023-04-12 15:16:15 +02:00 committed by GitHub
parent f5231d61a5
commit 37011bc45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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