feat: lsp definitions (#631)

* added lsp definitoins

* don't call locations_to_items when there is one

Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>

* added missing end

* added description

* added to feature map

* Update lua/telescope/builtin/lsp.lua

Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com>

* Update lua/telescope/builtin/lsp.lua

Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>

Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com>
This commit is contained in:
oberblastmeister
2021-03-09 14:17:56 -05:00
committed by GitHub
parent 1c80a92d40
commit ff428c9187
3 changed files with 33 additions and 0 deletions

View File

@@ -410,6 +410,7 @@ Built-in functions. Ready to be bound to any key you like. :smile:
| `builtin.lsp_range_code_actions` | Lists LSP range code action to be trigged on enter. |
| `builtin.lsp_document_diagnostics` | Lists LSP Diagnostics in the current document. |
| `builtin.lsp_workspace_diagnostics` | Lists LSP Diagnostics in the workspace if supported and otherwise open buffers. |
| `builtin.lsp_definitions` | Goto definition if there is only one. If there are multiple, open them up in telescope |
### Git Pickers