diff options
author | Jaehwang Jung <tomtomjhj@gmail.com> | 2024-02-25 00:47:34 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 16:47:34 +0100 |
commit | 8addd27504e698da62176824209ae2d3d24247c0 (patch) | |
tree | 3f435ee7baf43ff291867bf7871271886c3bdaca /runtime/doc | |
parent | 04f723f1a5780196a5356d3bbca17438c572ffa1 (diff) | |
download | rneovim-8addd27504e698da62176824209ae2d3d24247c0.tar.gz rneovim-8addd27504e698da62176824209ae2d3d24247c0.tar.bz2 rneovim-8addd27504e698da62176824209ae2d3d24247c0.zip |
fix(lsp): when renaming directory, check path prefix of buffer names (#27603)
For example, when renaming /path/to/dir, buffers like
fern://drawer/file:///path/to/dir, /path/to/dir123 should not be
matched.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 54a8854334..a94de629b2 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -2003,7 +2003,11 @@ rename({old_fname}, {new_fname}, {opts}) *vim.lsp.util.rename()* Rename old_fname to new_fname Parameters: ~ - • {opts} (`table`) + • {old_fname} (`string`) + • {new_fname} (`string`) + • {opts} (`table?`) options + • overwrite? boolean + • ignoreIfExists? boolean *vim.lsp.util.show_document()* show_document({location}, {offset_encoding}, {opts}) |