mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user