diff options
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 14 | ||||
| -rw-r--r-- | runtime/doc/news.txt | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 42600e405c..95cbd211bf 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -810,6 +810,13 @@ get_log_path() *vim.lsp.get_log_path()* Return: ~ (string) path to log file +inlay_hint({bufnr}, {enable}) *vim.lsp.inlay_hint()* + Enable/disable/toggle inlay hints for a buffer + + Parameters: ~ + • {bufnr} (integer) Buffer handle, or 0 for current + • {enable} (boolean|nil) true/false to enable/disable, nil to toggle + omnifunc({findstart}, {base}) *vim.lsp.omnifunc()* Implements 'omnifunc' compatible LSP completion. @@ -1227,13 +1234,6 @@ incoming_calls() *vim.lsp.buf.incoming_calls()* window. If the symbol can resolve to multiple items, the user can pick one in the |inputlist()|. -inlay_hint({bufnr}, {enable}) *vim.lsp.buf.inlay_hint()* - Enable/disable/toggle inlay hints for a buffer - - Parameters: ~ - • {bufnr} (integer) Buffer handle, or 0 for current - • {enable} (boolean|nil) true/false to enable/disable, nil to toggle - list_workspace_folders() *vim.lsp.buf.list_workspace_folders()* List workspace folders. diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 153441b0a5..0a9b926b7f 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -98,7 +98,7 @@ The following new APIs and features were added. • |nvim_set_keymap()| and |nvim_del_keymap()| now support abbreviations. -• Implemented LSP inlay hints: |vim.lsp.buf.inlay_hint()| +• Implemented LSP inlay hints: |vim.lsp.inlay_hint()| https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint ============================================================================== |