A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/3aff3d6349d878f2f57b8931b2f1a2397926f889 below:

add bufnr and user_data to diagnostic-structure (#16619) · neovim/neovim@3aff3d6 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-0

lines changed Original file line number Diff line number Diff line change

@@ -41,13 +41,15 @@ requires a namespace.

41 41

*diagnostic-structure*

42 42

A diagnostic is a Lua table with the following keys:

43 43 44 +

bufnr: Buffer number

44 45

lnum: The starting line of the diagnostic

45 46

end_lnum: The final line of the diagnostic

46 47

col: The starting column of the diagnostic

47 48

end_col: The final column of the diagnostic

48 49

severity: The severity of the diagnostic |vim.diagnostic.severity|

49 50

message: The diagnostic text

50 51

source: The source of the diagnostic

52 +

user_data: Arbitrary data plugins or users can add

51 53 52 54

Diagnostics use the same indexing as the rest of the Nvim API (i.e. 0-based

53 55

rows and columns). |api-indexing|

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4