Skip to content

Commit df86b03

Browse files
committed
fix: lint issues
1 parent 13b133a commit df86b03

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Eask

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
(depends-on "markdown-mode")
4040
(depends-on "lv")
4141
(depends-on "eldoc")
42+
(depends-on "uuidgen")
4243

4344
(development
4445
(depends-on "flycheck")

clients/lsp-copilot.el

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
;; LSP client for the Copilot Language Server:
2626
;; https://www.npmjs.com/package/@github/copilot-language-server
2727

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)
2929

3030
;; Code:
3131

@@ -94,6 +94,11 @@ The input are the file name and the major mode of the buffer."
9494

9595
;;; Panel Completion
9696

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")
97102
(defvar-local lsp-copilot-panel-completion-items nil
98103
"A list of completion items returned by the Panel Completion call")
99104

@@ -249,7 +254,7 @@ The input are the file name and the major mode of the buffer."
249254
(lsp-copilot--panel-display-buffer (buffer-name) lsp-copilot-panel-completion-items lsp-copilot-panel-modification-tick)
250255
(lsp--error "No completions to display")))
251256

252-
(defun lsp-copilot--panel-completions-progress-handler (workspace params)
257+
(defun lsp-copilot--panel-completions-progress-handler (_ params)
253258
(-let* (((&ProgressParams :token :value) params)
254259
((action completing-buffer-name panel-completion-token) (string-split token " /// " )))
255260
(pcase action

0 commit comments

Comments
 (0)