aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-11-29 22:11:33 -0700
committerDundar Göc <gocdundar@gmail.com>2021-11-30 09:03:41 +0100
commit5a24c2c83d76432e38f40d31db4c0a8fdd4232cf (patch)
treebf26f1670268095e0098c1f50ec8f0f8daa9fe44 /runtime/doc
parentb6e531c1d90da143d4351442baee8fef0479a6f7 (diff)
downloadrneovim-5a24c2c83d76432e38f40d31db4c0a8fdd4232cf.tar.gz
rneovim-5a24c2c83d76432e38f40d31db4c0a8fdd4232cf.tar.bz2
rneovim-5a24c2c83d76432e38f40d31db4c0a8fdd4232cf.zip
docs(lsp): do not use | as argument separator
This translates into a tag in the help doc.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index c829fac566..a9669e9e01 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1347,18 +1347,18 @@ buf_clear_references({bufnr}) *vim.lsp.util.buf_clear_references()*
Removes document highlights from a buffer.
Parameters: ~
- {bufnr} buffer id
+ {bufnr} number Buffer id
*vim.lsp.util.buf_highlight_references()*
buf_highlight_references({bufnr}, {references}, {offset_encoding})
Shows a list of document highlights for a certain buffer.
Parameters: ~
- {bufnr} buffer id
- {references} List of `DocumentHighlight` objects to
- highlight
- {offset_encoding} string utf-8|utf-16|utf-32|nil defaults
- to utf-16
+ {bufnr} number Buffer id
+ {references} table List of `DocumentHighlight`
+ objects to highlight
+ {offset_encoding} string One of "utf-8", "utf-16",
+ "utf-32", or nil. Defaults to utf-16
See also: ~
https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#documentHighlight