mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	[Backport release-0.9] docs(lsp): remove vim.lsp.sync (#23419)
docs(lsp): remove vim.lsp.sync
The module is used internally and not intended to be used by plugins or
users.
(cherry picked from commit 02d5a678fb)
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
			
			
This commit is contained in:
		![41898282+github-actions[bot]@users.noreply.github.com](/assets/img/avatar_default.png) github-actions[bot]
					github-actions[bot]
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							98a90abca9
						
					
				
				
					commit
					f77b2740ee
				
			| @@ -2130,27 +2130,6 @@ start({cmd}, {cmd_args}, {dispatchers}, {extra_spawn_params}) | ||||
|         • `terminate()` terminates the RPC client. | ||||
|  | ||||
|  | ||||
| ============================================================================== | ||||
| Lua module: vim.lsp.sync                                            *lsp-sync* | ||||
|  | ||||
|                                                  *vim.lsp.sync.compute_diff()* | ||||
| compute_diff({___MissingCloseParenHere___}) | ||||
|     Returns the range table for the difference between prev and curr lines | ||||
|  | ||||
|     Parameters: ~ | ||||
|       • {prev_lines}       (table) list of lines | ||||
|       • {curr_lines}       (table) list of lines | ||||
|       • {firstline}        (integer) line to begin search for first difference | ||||
|       • {lastline}         (integer) line to begin search in old_lines for | ||||
|                            last difference | ||||
|       • {new_lastline}     (integer) line to begin search in new_lines for | ||||
|                            last difference | ||||
|       • {offset_encoding}  (string) encoding requested by language server | ||||
|  | ||||
|     Return: ~ | ||||
|         (table) TextDocumentContentChangeEvent see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentContentChangeEvent | ||||
|  | ||||
|  | ||||
| ============================================================================== | ||||
| Lua module: vim.lsp.protocol                                    *lsp-protocol* | ||||
|  | ||||
|   | ||||
| @@ -217,7 +217,6 @@ CONFIG = { | ||||
|             'util.lua', | ||||
|             'log.lua', | ||||
|             'rpc.lua', | ||||
|             'sync.lua', | ||||
|             'protocol.lua', | ||||
|         ], | ||||
|         'files': [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user