* Clean up dhall-lsp-server's Main.hs Also adds haddock comments. * Remove TODO comment The comment talks about adding a mechanism for protocol-level logging to dhall-lsp-server. Since the VSCode LSP implementation has this feature already baked in on the client side, we don't have to implement it ourselves. * Simplify dhall-lsp-server's infrastructure So far we had a system where we set up the LSP message handlers to relay messages to a separate dispatcher thread via a shared channel. Since our language server is at the same time designed in a completely synchronous manner, this complication turns out to be unnecessary. * Remove sample code * Fix unused variable warning * Reorganise dhall-lsp-server's module hierarchy Prefixes all modules with "Dhall.LSP.". Previously: Backend.Dhall. .Diagnostics .Formatting LSP. .Handlers .Handlers. .Diagnostics .DocumentFormatting .Server Now: Dhall.LSP. .Backend. .Diagnostics .Formatting .Handlers .Handlers. .Diagnostics .DocumentFormatting .Server * Make dhall-lsp-server tests compile again They still fail though! |
||
---|---|---|
.. | ||
Backend/Dhall | ||
Driver.hs |