Skip to content

Commit

Permalink
nixd/lspserver: fix typo "handler" (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu authored Sep 18, 2024
1 parent f6ca743 commit 28a4190
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 28a4190

Please sign in to comment.