diff options
author | Christian Clason <christian.clason@uni-due.de> | 2020-05-02 15:21:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 15:21:07 +0200 |
commit | 2f42e4d0c86163e64eb56077939fe405dc434e42 (patch) | |
tree | 40da558678d02bf64c3f409d50d594a26f95aaaf /runtime/lua/vim/lsp/protocol.lua | |
parent | a6071ac04d7ab1c366b7bb68da9d7d331009a478 (diff) | |
download | rneovim-2f42e4d0c86163e64eb56077939fe405dc434e42.tar.gz rneovim-2f42e4d0c86163e64eb56077939fe405dc434e42.tar.bz2 rneovim-2f42e4d0c86163e64eb56077939fe405dc434e42.zip |
LSP: Support LocationLink (#12231)
* support LocationLink in callbacks
* announce linkSupport in client capabilities
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 41e8119c8c..bca4840674 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -644,6 +644,18 @@ function protocol.make_client_capabilities() -- TODO(tjdevries): Implement this contextSupport = false; }; + declaration = { + linkSupport = true; + }; + definition = { + linkSupport = true; + }; + implementation = { + linkSupport = true; + }; + typeDefinition = { + linkSupport = true; + }; hover = { dynamicRegistration = false; contentFormat = { protocol.MarkupKind.Markdown; protocol.MarkupKind.PlainText }; |