aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-10-05 19:17:50 +0300
committerEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-10-05 19:20:05 +0300
commit2728b4efe03056a14c2c6b09f8186f9244e8cf58 (patch)
treec73586920d78a3f12955b463332692ed76424c54 /runtime/lua/vim/pack.lua
parent913b05bf630d789d9ca4d51675507505a3394e61 (diff)
downloadrneovim-2728b4efe03056a14c2c6b09f8186f9244e8cf58.tar.gz
rneovim-2728b4efe03056a14c2c6b09f8186f9244e8cf58.tar.bz2
rneovim-2728b4efe03056a14c2c6b09f8186f9244e8cf58.zip
feat(pack): add `[[` and `]]` mappings in confirmation buffer
Problem: No easy/robust way to jump between plugin sections. Solution: Add `[[` and `]]` mappings.
Diffstat (limited to 'runtime/lua/vim/pack.lua')
-rw-r--r--runtime/lua/vim/pack.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/lua/vim/pack.lua b/runtime/lua/vim/pack.lua
index 6790350bc3..35952243b9 100644
--- a/runtime/lua/vim/pack.lua
+++ b/runtime/lua/vim/pack.lua
@@ -957,8 +957,10 @@ end
--- - If `false`, show confirmation buffer. It lists data about all set to
--- update plugins. Pending changes starting with `>` will be applied while
--- the ones starting with `<` will be reverted.
---- It has special in-process LSP server attached to provide more interactive
---- features. Currently supported methods:
+--- It has dedicated buffer-local mappings:
+--- - |]]| and |[[| to navigate through plugin sections.
+---
+--- Some features are provided via LSP:
--- - 'textDocument/documentSymbol' (`gO` via |lsp-defaults|
--- or |vim.lsp.buf.document_symbol()|) - show structure of the buffer.
--- - 'textDocument/hover' (`K` via |lsp-defaults| or |vim.lsp.buf.hover()|) -