mirror of
https://github.com/neovim/neovim.git
synced 2025-10-25 20:07:09 +00: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:
committed by
GitHub
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
|
||||
|
||||
Reference in New Issue
Block a user