From bac943870c7489ea526abed47f0aeb8d914723c0 Mon Sep 17 00:00:00 2001 From: Dmitry Davydov Date: Sun, 4 Jun 2023 16:48:50 +0700 Subject: [PATCH] enable workspace capabilites --- copilot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copilot.el b/copilot.el index aff09d0..0bb1666 100644 --- a/copilot.el +++ b/copilot.el @@ -159,7 +159,7 @@ Enabling event logging may slightly affect performance." :stderr (get-buffer-create "*copilot stderr*") :noquery t))) (message "Copilot agent started.") - (copilot--request 'initialize '(:capabilities 'nil)) + (copilot--request 'initialize '(:capabilities (:workspace (:workspaceFolders t)))) (copilot--async-request 'setEditorInfo `(:editorInfo (:name "Emacs" :version ,emacs-version) :editorPluginInfo (:name "copilot.el" :version ,copilot-version)