Skip to content

Commit

Permalink
enable workspace capabilites
Browse files Browse the repository at this point in the history
  • Loading branch information
haukot authored and zerolfx committed Jun 5, 2023
1 parent 5593db8 commit bac9438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copilot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bac9438

Please sign in to comment.