Skip to content

Commit 90da1c7

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

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@
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

3232
(require 'dash)
3333
(require 'lsp-mode)
3434
(require 's)
35+
(require 'uuidgen)
36+
(require 'lsp-inline-completion)
3537

3638
(defgroup lsp-copilot ()
3739
"Copilot LSP configuration"
@@ -94,6 +96,11 @@ The input are the file name and the major mode of the buffer."
9496

9597
;;; Panel Completion
9698

99+
(declare-function company--active-p "ext:company")
100+
(declare-function company-cancel "ext:company" (&optional result))
101+
(declare-function org-forward-heading-same-level "ext:org" (arg &optional invisible-ok))
102+
(declare-function org-backward-heading-same-level "ext:org" (arg &optional invisible-ok))
103+
(declare-function org-down-element "ext:org")
97104
(defvar-local lsp-copilot-panel-completion-items nil
98105
"A list of completion items returned by the Panel Completion call")
99106

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

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

0 commit comments

Comments
 (0)