aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lsp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r--runtime/doc/lsp.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index c52012ac00..d5e8db4dd7 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1625,6 +1625,9 @@ buf_highlight_references({bufnr}, {references})
{references} List of `DocumentHighlight` objects to
highlight
+buf_lines({bufnr}) *vim.lsp.util.buf_lines()*
+ TODO: Documentation
+
character_offset({buf}, {row}, {col}) *vim.lsp.util.character_offset()*
Returns the UTF-32 and UTF-16 offsets for a position in a
certain buffer.
@@ -1747,6 +1750,14 @@ get_line({uri}, {row}) *vim.lsp.util.get_line()*
Return: ~
string the line at row in filename
+get_lines({uri}, {rows}) *vim.lsp.util.get_lines()*
+ Parameters: ~
+ {uri} string uri of the resource to get the lines from
+ {rows} number[] zero-indexed line numbers
+
+ Return: ~
+ table<number string> a table mapping rows to lines
+
get_progress_messages() *vim.lsp.util.get_progress_messages()*
TODO: Documentation