diff options
author | Thore Weilbier <thore@weilbier.net> | 2020-04-26 06:47:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 21:47:48 -0700 |
commit | 68511924d02af03812ae4b56aea6d94009f8096e (patch) | |
tree | 8b62b116b341f80f064f81c397435246f70797c4 /runtime/lua/vim/lsp/buf.lua | |
parent | c5217c67df2e08b73ef3a8217b0d9c953467fde1 (diff) | |
download | rneovim-68511924d02af03812ae4b56aea6d94009f8096e.tar.gz rneovim-68511924d02af03812ae4b56aea6d94009f8096e.tar.bz2 rneovim-68511924d02af03812ae4b56aea6d94009f8096e.zip |
LSP: remove obsolete "peek definition" code #12178
The method with the name 'textDocument/peekDefinition' is not part of
the official language server protocol specification. Therefore no
language server can/will support this. Thereby all related code and
documentation as been removed.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
-rw-r--r-- | runtime/lua/vim/lsp/buf.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua index fc9e10cb73..587d1f52e9 100644 --- a/runtime/lua/vim/lsp/buf.lua +++ b/runtime/lua/vim/lsp/buf.lua @@ -32,12 +32,6 @@ function M.hover() request('textDocument/hover', params) end -function M.peek_definition() - local params = util.make_position_params() - request('textDocument/peekDefinition', params) -end - - function M.declaration() local params = util.make_position_params() request('textDocument/declaration', params) |