mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs: regenerate
This commit is contained in:
parent
4ce61742cf
commit
0819e1acf9
@ -1445,6 +1445,9 @@ set_loclist({opts}) *vim.lsp.diagnostic.set_loclist()*
|
|||||||
"Warning" means { "Error", "Warning" } will be
|
"Warning" means { "Error", "Warning" } will be
|
||||||
valid.
|
valid.
|
||||||
|
|
||||||
|
• {workspace}: (boolean, default false)
|
||||||
|
• Set the list with workspace diagnostics
|
||||||
|
|
||||||
*vim.lsp.diagnostic.set_signs()*
|
*vim.lsp.diagnostic.set_signs()*
|
||||||
set_signs({diagnostics}, {bufnr}, {client_id}, {sign_ns}, {opts})
|
set_signs({diagnostics}, {bufnr}, {client_id}, {sign_ns}, {opts})
|
||||||
Set signs for given diagnostics
|
Set signs for given diagnostics
|
||||||
@ -1634,7 +1637,8 @@ buf_highlight_references({bufnr}, {references})
|
|||||||
buf_lines({bufnr}) *vim.lsp.util.buf_lines()*
|
buf_lines({bufnr}) *vim.lsp.util.buf_lines()*
|
||||||
TODO: Documentation
|
TODO: Documentation
|
||||||
|
|
||||||
character_offset({buf}, {row}, {col}) *vim.lsp.util.character_offset()*
|
*vim.lsp.util.character_offset()*
|
||||||
|
character_offset({bufnr}, {row}, {col})
|
||||||
Returns the UTF-32 and UTF-16 offsets for a position in a
|
Returns the UTF-32 and UTF-16 offsets for a position in a
|
||||||
certain buffer.
|
certain buffer.
|
||||||
|
|
||||||
@ -1963,9 +1967,10 @@ set_lines({lines}, {A}, {B}, {new_lines}) *vim.lsp.util.set_lines()*
|
|||||||
Return: ~
|
Return: ~
|
||||||
(table) The modified {lines} object
|
(table) The modified {lines} object
|
||||||
|
|
||||||
set_loclist({items}) *vim.lsp.util.set_loclist()*
|
set_loclist({items}, {win_id}) *vim.lsp.util.set_loclist()*
|
||||||
Fills current window's location list with given list of items.
|
Fills target window's location list with given list of items.
|
||||||
Can be obtained with e.g. |vim.lsp.util.locations_to_items()|.
|
Can be obtained with e.g. |vim.lsp.util.locations_to_items()|.
|
||||||
|
Defaults to current window.
|
||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
{items} (table) list of items
|
{items} (table) list of items
|
||||||
|
Loading…
Reference in New Issue
Block a user