Allow LspWorkspaceSymbol query on cmdline (#742)

Allow users to specify their query on the cmdline so they have easier
access to registers and vim-editing methods (especially with ctrl-f to
enter cmdline-window).
This commit is contained in:
David Briscoe
2020-10-18 09:16:32 -07:00
committed by GitHub
parent 36cc104764
commit d821bd8e18
2 changed files with 9 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ command! LspRename call lsp#ui#vim#rename()
command! LspTypeDefinition call lsp#ui#vim#type_definition(0, <q-mods>)
command! LspTypeHierarchy call lsp#internal#type_hierarchy#show()
command! LspPeekTypeDefinition call lsp#ui#vim#type_definition(1)
command! LspWorkspaceSymbol call lsp#ui#vim#workspace_symbol()
command! -nargs=? LspWorkspaceSymbol call lsp#ui#vim#workspace_symbol(<q-args>)
command! -range LspDocumentFormat call lsp#ui#vim#document_format()
command! -range LspDocumentFormatSync call lsp#ui#vim#document_format_sync()
command! -range LspDocumentRangeFormat call lsp#ui#vim#document_range_format()