Skip to content

Commit

Permalink
Updated lsp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Jun 30, 2024
1 parent ca9dda0 commit 9991354
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/lsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Installation

Languages currently have to be installed manually. If you already have language servers installed through another editor (e.g. VSCode, NeoVim etc.) then you should be able to use that version aswell.
Language servers currently have to be installed manually. If you already have a language server installed through another editor (e.g. VSCode, NeoVim etc.) then you should be able to use that version aswell.

## Configuration

Expand Down Expand Up @@ -57,18 +57,18 @@ The following LSP features are currently supported:

| Feature | Vim | VSCode | Note |
| ----------- | --- | --- | --- |
| textDocument/definition | `gd` | | |
| textDocument/declaration | `gD` | | |
| textDocument/typeDefinition | `gT` | | |
| textDocument/implementation | `gi` | | |
| textDocument/documentSymbol | `gs` | | |
| textDocument/references | `gr` | | |
| textDocument/hover | `K` | | |
| textDocument/definition | `gd` | `<C-g><C-d>` or `<F12>` | |
| textDocument/declaration | `gD` | `<C-g><CS-d>` | |
| textDocument/typeDefinition | `gT` | `<C-g><CS-t>` | |
| textDocument/implementation | `gi` | `<C-g><C-i>` | |
| textDocument/documentSymbol | `gs` | `<C-g><C-s>` or `<CS-o>` | |
| textDocument/references | `gr` | `<C-g><C-r>` or `<S-F12>` | |
| textDocument/hover | `K` | `<C-g><C-k>` | |
| textDocument/diagnostic | `H` | `<C-g><C-h>` | |
| textDocument/switchSourceHeader | `go` | `<C-g><C-o>` | Only for C/C++ with `clangd` |
| workspace/symbol | `gw` | `<C-g><C-w>` or `<C-t>` | |
| textDocument/inlayHints | | | No keybindings necessary |
| textDocument/diagnostic | | | No keybindings necessary |
| textDocument/completion | | | See below |
| textDocument/switchSourceHeader | `gr` | | Only for C/C++ with `clangd` |
| workspace/symbol | `gw` | | |

### Auto completion

Expand Down

0 comments on commit 9991354

Please sign in to comment.