aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-10-15 17:02:14 +0100
committerLewis Russell <lewis6991@gmail.com>2024-10-16 12:39:28 +0100
commit0e8568d72c8825292af1b74018d8c3def0e3f16b (patch)
tree71e80ea0e5b2e98ac12f6f14c434a42b93082c44 /runtime/lua/vim/lsp/util.lua
parent0066dd0f653e9321ea77fd54a017e96d457307d3 (diff)
downloadrneovim-0e8568d72c8825292af1b74018d8c3def0e3f16b.tar.gz
rneovim-0e8568d72c8825292af1b74018d8c3def0e3f16b.tar.bz2
rneovim-0e8568d72c8825292af1b74018d8c3def0e3f16b.zip
feat(lsp.util): remove lsp spec extract
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 15f5b86fec..092d0a5576 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -849,24 +849,6 @@ function M.convert_signature_help_to_markdown_lines(signature_help, ft, triggers
local parameter = signature.parameters[active_parameter + 1]
local parameter_label = parameter.label
- --[=[
- --Represents a parameter of a callable-signature. A parameter can
- --have a label and a doc-comment.
- interface ParameterInformation {
- --The label of this parameter information.
- --
- --Either a string or an inclusive start and exclusive end offsets within its containing
- --signature label. (see SignatureInformation.label). The offsets are based on a UTF-16
- --string representation as `Position` and `Range` does.
- --
- --*Note*: a label of type string should be a substring of its containing signature label.
- --Its intended use case is to highlight the parameter label part in the `SignatureInformation.label`.
- label: string | [number, number];
- --The human-readable doc-comment of this parameter. Will be shown
- --in the UI but can be omitted.
- documentation?: string | MarkupContent;
- }
- --]=]
if type(parameter_label) == 'table' then
active_offset = parameter_label
else