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.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 841ed36421..41f083687d 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1271,10 +1271,10 @@ rename({new_name}, {options}) *vim.lsp.buf.rename()*
prompted for a new name using
|vim.ui.input()|.
{options} (table|nil) additional options
- • filter (function|nil): Predicate to filter
- clients used for rename. Receives the
- attached clients as argument and must return
- a list of clients.
+ • filter (function|nil): Predicate used to
+ filter clients. Receives a client as
+ argument and must return a boolean. Clients
+ matching the predicate are included.
• name (string|nil): Restrict clients used for
rename to ones where client.name matches
this field.