diff options
author | Josa Gesell <josa@gesell.me> | 2021-03-10 23:02:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-10 17:02:09 -0500 |
commit | d1074e0077024d1581a77e3bf09e80a657047847 (patch) | |
tree | 70ca1ea35370737997fdd514ef16f2d5afc7d3cd /runtime/lua/vim/lsp.lua | |
parent | 564dd7d8db110d134987f8619c3894d2149f8956 (diff) | |
download | rneovim-d1074e0077024d1581a77e3bf09e80a657047847.tar.gz rneovim-d1074e0077024d1581a77e3bf09e80a657047847.tar.bz2 rneovim-d1074e0077024d1581a77e3bf09e80a657047847.zip |
lsp: Resolve codeLense server capabilities (#14056)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index b8911f7f2f..9bc6679228 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -42,6 +42,8 @@ lsp._request_name_to_capability = { ['textDocument/prepareCallHierarchy'] = 'call_hierarchy'; ['textDocument/rename'] = 'rename'; ['textDocument/codeAction'] = 'code_action'; + ['textDocument/codeLens'] = 'code_lens'; + ['codeLens/resolve'] = 'code_lens_resolve'; ['workspace/executeCommand'] = 'execute_command'; ['textDocument/references'] = 'find_references'; ['textDocument/rangeFormatting'] = 'document_range_formatting'; |