mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	feat(lsp.util): remove lsp spec extract
This commit is contained in:
		| @@ -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 = signature.parameters[active_parameter + 1] | ||||||
|     local parameter_label = parameter.label |     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 |     if type(parameter_label) == 'table' then | ||||||
|       active_offset = parameter_label |       active_offset = parameter_label | ||||||
|     else |     else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Lewis Russell
					Lewis Russell