Commit Graph

5 Commits

Author SHA1 Message Date
Alex Hoppen
4b3c571db6 Eliminate _IndirectConnection and replace it by closure
This allows us to move the semaphore logic out of the message to the connection where it belongs.
2019-11-12 15:04:44 -08:00
Ben Langmuir
e6fc0f017b [cli] Add --sync option for testing
When testing the sourcekit-lsp binary, it is handy to be able to force
requests to be handled synchronously. This only affects the protocol
layer, not the implementation. This option is hidden from the help text
and should only be used for testing/debugging.
2019-08-22 16:19:36 -07:00
Ben Langmuir
51be8a9abb [gardening] Cleanup comments in Message(s).swift 2018-12-07 22:50:24 -08:00
Ben Langmuir
4e524d595b [lsp] Document the initialize request and split into its own file 2018-12-07 22:48:14 -08:00
Ben Langmuir
aabf57a252 Import SourceKit-LSP sources 2018-11-13 15:50:48 -08:00