Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nixd/lspserver/include/lspserver/Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ enum class JSONStreamStyle {
};

/// Parsed & classfied messages are dispatched to this handler class
/// LSP Servers should inherit from this hanlder and dispatch
/// LSP Servers should inherit from this handler and dispatch
/// notify/call/reply to implementations.
class MessageHandler {
public:
Expand Down Expand Up @@ -60,7 +60,7 @@ class InboundPort {
/// Dispatch messages to on{Notify,Call,Reply} ( \p Handlers)
/// Return values should be forwarded from \p Handlers
/// i.e. returns true to keep processing messages, or false to shut down.
bool dispatch(llvm::json::Value Message, MessageHandler &Hanlder);
bool dispatch(llvm::json::Value Message, MessageHandler &Handler);

void loop(MessageHandler &Handler);
};
Expand Down