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/lua/vim/lsp/protocol.lua | |
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/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 172d43e483..b3a7903420 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -641,6 +641,12 @@ function protocol.make_client_capabilities() }, }, textDocument = { + inlayHint = { + dynamicRegistration = false, + resolveSupport = { + properties = {}, + }, + }, semanticTokens = { dynamicRegistration = false, tokenTypes = { @@ -853,6 +859,9 @@ function protocol.make_client_capabilities() dynamicRegistration = true, relativePatternSupport = true, }, + inlayHint = { + refreshSupport = true, + }, }, experimental = nil, window = { |