Skip to content

Commit

Permalink
Our request listener hooks monitor these on their own
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Nov 8, 2024
1 parent 3e6a777 commit d37a826
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/lsp_server_metta/prolog/lsp_server_metta.pl
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,10 @@
handle_msg(Method, Msg, Response):-
lsp_hooks:handle_msg_hook(Method, Msg, Response),!.

% Our request listener hooks monitor these on their own
handle_msg(Method, Msg, false) :- \+ string(Method), _{id: Id} :< Msg, \+ number(Id),!.


% messages (with a response)
handle_msg("initialize", Msg,
_{id: Id, result: _{capabilities: ServerCapabilities} }) :-
Expand Down

0 comments on commit d37a826

Please sign in to comment.