Skip to content

Commit

Permalink
refactor: remove unused symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
kassick committed Dec 7, 2024
1 parent 1752d1c commit c529d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/lsp-copilot.el
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ This function is automatically called during the client initialization if needed
(-when-let (workspace (--some (lsp-find-workspace it) '(copilot-ls copilot-ls-remote)))
(with-lsp-workspace workspace
(-when-let* ((response (lsp-request "signInInitiate" '(:dummy "dummy"))))
(-let (((&copilot-ls:SignInInitiateResponse? :status :user-code :verification-uri :expires-in :interval :user) response))
(-let (((&copilot-ls:SignInInitiateResponse? :status :user-code :verification-uri :user) response))

;; Bail if already signed in
(when (s-equals-p status "AlreadySignedIn")
Expand Down Expand Up @@ -189,7 +189,7 @@ automatically, browse to %s." user-code verification-uri))
:name "emacs"
:version "0.1.0"))

(defun lsp-copilot--server-initialized-fn (workspace)
(defun lsp-copilot--server-initialized-fn (_)
(unless (lsp-copilot--authenticated-as)
(lsp-copilot-login)))

Expand Down

0 comments on commit c529d46

Please sign in to comment.