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.
This commit is contained in:
Thore Weilbier
2020-04-26 06:47:48 +02:00
committed by GitHub
parent c5217c67df
commit 68511924d0
4 changed files with 0 additions and 53 deletions

View File

@@ -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)