File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 39
39
(depends-on "markdown-mode")
40
40
(depends-on "lv")
41
41
(depends-on "eldoc")
42
+ (depends-on "uuidgen")
42
43
43
44
(development
44
45
(depends-on "flycheck")
Original file line number Diff line number Diff line change 25
25
; ; LSP client for the Copilot Language Server:
26
26
; ; https://www.npmjs.com/package/@github/copilot-language-server
27
27
28
- ; ; Package-Requires: (lsp-mode secrets s compile dash cl-lib request company )
28
+ ; ; Package-Requires: (lsp-mode secrets s compile dash cl-lib request uuidgen )
29
29
30
30
; ; Code:
31
31
@@ -94,6 +94,11 @@ The input are the file name and the major mode of the buffer."
94
94
95
95
; ;; Panel Completion
96
96
97
+ (declare-function company--active-p " ext:company" )
98
+ (declare-function company-cancel " ext:company" (&optional result))
99
+ (declare-function org-forward-heading-same-level " ext:org" (arg &optional invisible-ok))
100
+ (declare-function org-backward-heading-same-level " ext:org" (arg &optional invisible-ok))
101
+ (declare-function org-down-element " ext:org" )
97
102
(defvar-local lsp-copilot-panel-completion-items nil
98
103
" A list of completion items returned by the Panel Completion call" )
99
104
@@ -249,7 +254,7 @@ The input are the file name and the major mode of the buffer."
249
254
(lsp-copilot--panel-display-buffer (buffer-name ) lsp-copilot-panel-completion-items lsp-copilot-panel-modification-tick)
250
255
(lsp--error " No completions to display" )))
251
256
252
- (defun lsp-copilot--panel-completions-progress-handler (workspace params )
257
+ (defun lsp-copilot--panel-completions-progress-handler (_ params )
253
258
(-let* (((&ProgressParams :token :value ) params)
254
259
((action completing-buffer-name panel-completion-token) (string-split token " /// " )))
255
260
(pcase action
You can’t perform that action at this time.
0 commit comments