diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-04-30 15:25:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 15:25:15 +0200 |
commit | 42b441738d833543c98c97cad0c200bde28ae233 (patch) | |
tree | 6487aa3db8e2b85a4b61a9eecd465c83184c3b62 /runtime/lua/vim/lsp/util.lua | |
parent | f9055c585f597fe4ea8ecb990927a2826234393c (diff) | |
parent | e4a1be779b9a6bb9a47700ebf92f8dd934bb1712 (diff) | |
download | rneovim-42b441738d833543c98c97cad0c200bde28ae233.tar.gz rneovim-42b441738d833543c98c97cad0c200bde28ae233.tar.bz2 rneovim-42b441738d833543c98c97cad0c200bde28ae233.zip |
Merge pull request #12204 from archseer/lsp-user-data
lsp/completion: Expose completion_item under completed_items.user_data + vim-patch:8.2.0084
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 7d4dc072e5..68f3b35df3 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -240,6 +240,13 @@ function M.text_document_completion_list_to_complete_items(result, prefix) icase = 1, dup = 1, empty = 1, + user_data = { + nvim = { + lsp = { + completion_item = completion_item + } + } + }, }) end |