aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 1413a88ce2..ead90cc75a 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -10,7 +10,6 @@ end
--[=[
-- Useful for interfacing with:
--- https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-14.md
-- https://github.com/microsoft/language-server-protocol/raw/gh-pages/_specifications/specification-3-14.md
function transform_schema_comments()
nvim.command [[silent! '<,'>g/\/\*\*\|\*\/\|^$/d]]
@@ -681,19 +680,6 @@ function protocol.make_client_capabilities()
}
end
-function protocol.make_text_document_position_params()
- local position = vim.api.nvim_win_get_cursor(0)
- return {
- textDocument = {
- uri = vim.uri_from_bufnr()
- };
- position = {
- line = position[1] - 1;
- character = position[2];
- }
- }
-end
-
--[=[
export interface DocumentFilter {
--A language id, like `typescript`.