diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2022-05-26 12:28:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 12:28:50 +0200 |
commit | e8ada41b63ebd916a44240de661faa64a1d0c941 (patch) | |
tree | c836f9ab678d9cb48dab69e70492c8dc1c96a482 /runtime/doc | |
parent | 7b952793d5c46e862a9cdec3d6ac4762370296ed (diff) | |
download | rneovim-e8ada41b63ebd916a44240de661faa64a1d0c941.tar.gz rneovim-e8ada41b63ebd916a44240de661faa64a1d0c941.tar.bz2 rneovim-e8ada41b63ebd916a44240de661faa64a1d0c941.zip |
feat(lsp): turn rename filter into a predicate (#18745)
Same as https://github.com/neovim/neovim/pull/18458 but for rename
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 8 |
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. |