diff options
author | Chinmay Dalal <dalal.chinmay.0101@gmail.com> | 2023-06-11 15:23:37 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 11:53:37 +0200 |
commit | 643546b82b4bc0c29ca869f81af868a019723d83 (patch) | |
tree | dcabb24372fa2d5157cce4b9b8eea2b0c9927735 /runtime/doc | |
parent | cce9460524aa17bcd4daa095f4706220b81f8845 (diff) | |
download | rneovim-643546b82b4bc0c29ca869f81af868a019723d83.tar.gz rneovim-643546b82b4bc0c29ca869f81af868a019723d83.tar.bz2 rneovim-643546b82b4bc0c29ca869f81af868a019723d83.zip |
feat(lsp): add handlers for inlay hints (#23736)
initial support; public API left for a follow-up PR
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 2 | ||||
-rw-r--r-- | runtime/doc/news.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 7248d03196..27ef38743b 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -197,6 +197,7 @@ specification. These LSP requests/notifications are defined by default: textDocument/formatting textDocument/hover textDocument/implementation* + textDocument/inlayHint textDocument/publishDiagnostics textDocument/rangeFormatting textDocument/references @@ -208,6 +209,7 @@ specification. These LSP requests/notifications are defined by default: window/showDocument window/showMessageRequest workspace/applyEdit + workspace/inlayHint/refresh workspace/symbol * NOTE: These are sometimes not implemented by servers. diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 20d20d9a90..ac9e60637a 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -84,6 +84,8 @@ The following new APIs or features were added. • |nvim_set_keymap()| and |nvim_del_keymap()| now support abbreviations. +• Added |lsp-handler| for inlay hints: `textDocument/inlayHint` and + `workspace/inlayHint/refresh` ============================================================================== CHANGED FEATURES *news-changed* |