From fd7d6708d7cdb0c26f4961b058de39b461caa867 Mon Sep 17 00:00:00 2001 From: logicmoo Date: Fri, 8 Nov 2024 06:13:56 -0800 Subject: [PATCH] Our request listener hooks monitor these on their own --- packs/lsp_server_metta/prolog/lsp_server_metta.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packs/lsp_server_metta/prolog/lsp_server_metta.pl b/packs/lsp_server_metta/prolog/lsp_server_metta.pl index a12a544fd8c..1609e454a79 100644 --- a/packs/lsp_server_metta/prolog/lsp_server_metta.pl +++ b/packs/lsp_server_metta/prolog/lsp_server_metta.pl @@ -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} }) :-