From: Andreas Louv Date: Sun, 16 Apr 2023 16:50:17 +0000 (+0200) Subject: Add examples and references to the two options that affect ":LspOutline" X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e7ed2c7b7a105bdc7b58ac166216df8c852776df;p=vim-lsp.git Add examples and references to the two options that affect ":LspOutline" --- diff --git a/doc/lsp.txt b/doc/lsp.txt index c472668..18bfeed 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -708,6 +708,24 @@ can map these commands to keys and make it easier to invoke them. the symbols in the new file. Folds are created in the outline window for the various group of symbols. + You can use |lsp-opt-outlineOnRight| and + |lsp-opt-outlineWinSize| to customize the placement and + size of the window. + + This command also supports |:command-modifiers|. You + can use the modifiers specify the position of the + window. Note that the default is ":vert :topleft" or + ":vert :botright" depending on |lsp-opt-outlineOnRight| + Example: > + + # Open the outline window just above the current window + :aboveleft LspOutline + + # Open the outline window just next to the current + # window, this is different from the default, when + # you have multiple splits already + :vert aboveleft LspOutline +< *:LspPeekDeclaration* :LspPeekDeclaration Displays the line where the symbol under the cursor is declared in a popup window. The