]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Changes as requested
authorGirish Palya <girishji@gmail.com>
Sun, 4 Feb 2024 17:27:37 +0000 (18:27 +0100)
committerGirish Palya <girishji@gmail.com>
Sun, 4 Feb 2024 17:27:37 +0000 (18:27 +0100)
M  autoload/lsp/symbol.vim
M  doc/lsp.txt

autoload/lsp/symbol.vim
doc/lsp.txt

index 57164546107e8361bbf3dea42e6c054a1620432e..bcd547a33200419de42352aa6e27c427aa5b1d16 100644 (file)
@@ -838,9 +838,9 @@ def SymbolMenuFilterKey(symPopupMenu: number,
       win_execute(symPopupMenu, "normal! G")
     endif
   elseif key == "\<PageDown>"
-    win_execute(symPopupMenu, 'normal! ' .. "\<C-d>")
+    win_execute(symPopupMenu, "normal! \<C-d>")
   elseif key == "\<PageUp>"
-    win_execute(symPopupMenu, 'normal! ' .. "\<C-u>")
+    win_execute(symPopupMenu, "normal! \<C-u>")
   elseif key == "\<C-F>"
       || key == "\<C-B>"
       || key == "\<C-Home>"
index 6d4c58c011b09a754d2d6254f158e4ffcb11dc84..68e4861abbbd632d72209d668c06e5b24573de9e 100644 (file)
@@ -773,10 +773,13 @@ can map these commands to keys and make it easier to invoke them.
                        pressing <Enter> or <Space>, jump to the location of
                        the symbol.
 
-                       The <Up>, <Down>, <C-F>, <C-B>, <PageUp>, <PageDown>,
-                       <C-Home>, <C-End>, <C-N>, <C-P> keys can be used to
-                       scroll the popup menu.  The <Esc> or <Ctrl-C> keys can
-                       be used to cancel the popup menu.
+                       The <Up>, <Down>, <Tab>, <S-Tab>, <C-N>, <C-P>,
+                       <ScrollWheelUp>, ScrollWheelDown> keys can be used to
+                       scroll popup menu one item at a time. <PageUp> and
+                       <PageDown> can be used to scroll a page of popup
+                       window, while <C-F> and <C-B> can be used to scroll a
+                       page of underlying window.  The <Esc> or <Ctrl-C> keys
+                       can be used to cancel the popup menu.
 
                        If one or more keyword characters are typed, then only
                        the symbols containing the keyword characters are