]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Merge pull request #270 from andlrc/feat/add-mods-to-outline
authorYegappan Lakshmanan <4298407+yegappan@users.noreply.github.com>
Sun, 16 Apr 2023 15:59:29 +0000 (08:59 -0700)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2023 15:59:29 +0000 (08:59 -0700)
Add <mods> to ":LspOutline"

1  2 
autoload/lsp/lsp.vim
plugin/lsp.vim
test/clangd_tests.vim

Simple merge
diff --cc plugin/lsp.vim
index 02db3975bbd60a877cc57094be9e821c06fe440b,cc2a4962609be5a91ebbc48345f708de5ad96e9b..c0f1eb575b8bace8a514f8b59f2f6cf31bf5eb42
@@@ -75,10 -75,10 +75,10 @@@ command! -nargs=0 -bar LspGotoImpl lsp.
  command! -nargs=0 -bar LspGotoTypeDef lsp.GotoTypedef(v:false, <q-mods>)
  command! -nargs=0 -bar LspHighlight call LspDocHighlight()
  command! -nargs=0 -bar LspHighlightClear call LspDocHighlightClear()
 -command! -nargs=0 -bar LspHover lsp.Hover()
 +command! -nargs=0 -bar LspHover lsp.Hover(<q-mods>)
  command! -nargs=0 -bar LspIncomingCalls lsp.IncomingCalls()
  command! -nargs=0 -bar LspOutgoingCalls lsp.OutgoingCalls()
- command! -nargs=0 -bar LspOutline lsp.Outline()
+ command! -nargs=0 -bar LspOutline lsp.Outline(<q-mods>)
  command! -nargs=0 -bar LspPeekDeclaration lsp.GotoDeclaration(v:true, <q-mods>)
  command! -nargs=0 -bar LspPeekDefinition lsp.GotoDefinition(v:true, <q-mods>)
  command! -nargs=0 -bar LspPeekImpl lsp.GotoImplementation(v:true, <q-mods>)
Simple merge