diff options
| author | Matthieu Coudron <mattator@gmail.com> | 2020-03-01 01:47:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-01 01:47:21 +0100 |
| commit | 6fcab7e758f3826b94ab369452b71d15a67c8b36 (patch) | |
| tree | 2b965d4866bcfc918e2f13f99c49d36a83281436 /runtime/doc | |
| parent | 1656367b90bd29d84d5ebf1ccef560368a1973cf (diff) | |
| parent | 16262472cda88d0a4dc5c6729cfef36264569324 (diff) | |
| download | rneovim-6fcab7e758f3826b94ab369452b71d15a67c8b36.tar.gz rneovim-6fcab7e758f3826b94ab369452b71d15a67c8b36.tar.bz2 rneovim-6fcab7e758f3826b94ab369452b71d15a67c8b36.zip | |
Merge pull request #11931 from h-michael/symbol
[RDY] LSP support 'textDocument/documentSymbol’
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index d5ed857f32..2f5427f6fc 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -48,6 +48,7 @@ go-to-definition, hover, etc. Example config: > nnoremap <silent> <c-k> <cmd>lua vim.lsp.buf.signature_help()<CR> nnoremap <silent> 1gD <cmd>lua vim.lsp.buf.type_definition()<CR> nnoremap <silent> gr <cmd>lua vim.lsp.buf.references()<CR> + nnoremap <silent> g0 <cmd>lua vim.lsp.buf.document_symbol()<CR> Nvim provides the |vim.lsp.omnifunc| 'omnifunc' handler which allows |i_CTRL-X_CTRL-O| to consume LSP completion. Example config (note the use of @@ -733,6 +734,9 @@ definition() *vim.lsp.buf.definition()* document_highlight() *vim.lsp.buf.document_highlight()* TODO: Documentation +document_symbol() *vim.lsp.buf.document_symbol()* + TODO: Documentation + formatting({options}) *vim.lsp.buf.formatting()* TODO: Documentation |