Skip to content

Commit ee8ec16

Browse files
authored
fix capitalization of Copilot (#4790)
matches https://github.com/features/copilot
1 parent 8a266b8 commit ee8ec16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clients/lsp-copilot.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; lsp-copilot.el --- lsp-mode client for copilot -*- lexical-binding: t -*-
1+
;;; lsp-copilot.el --- lsp-mode client for Copilot -*- lexical-binding: t -*-
22

33
;; Copyright (C) 2024 Rodrigo Virote Kassick
44

@@ -64,18 +64,18 @@ lsp-install-server to fetch an emacs-local version of the LSP."
6464
:group 'lsp-copilot)
6565

6666
(defcustom lsp-copilot-applicable-fn (lambda (&rest _) lsp-copilot-enabled)
67-
"A function which returns whether the copilot is applicable for the buffer.
67+
"A function which returns whether the Copilot is applicable for the buffer.
6868
The input are the file name and the major mode of the buffer."
6969
:type 'function
7070
:group 'lsp-copilot)
7171

7272
(defcustom lsp-copilot-server-disabled-languages nil
73-
"The languages for which the server must not be enabled (initialization setup for copilot)"
73+
"The languages for which the server must not be enabled (initialization setup for Copilot)"
7474
:type '(repeat string)
7575
:group 'lsp-copilot)
7676

7777
(defcustom lsp-copilot-server-multi-root t
78-
"Whether the copilot server is started with multi-root."
78+
"Whether the Copilot server is started with multi-root."
7979
:type 'boolean
8080
:group 'lsp-copilot)
8181

@@ -129,7 +129,7 @@ The input are the file name and the major mode of the buffer."
129129

130130
;;;###autoload
131131
(defun lsp-copilot-login ()
132-
"Log in with copilot.
132+
"Log in with Copilot.
133133
134134
This function is automatically called during the client initialization if needed"
135135
(interactive)
@@ -204,7 +204,7 @@ automatically, browse to %s." user-code verification-uri))
204204
(condition-case err
205205
(unless (lsp-copilot--authenticated-as)
206206
(lsp-copilot-login))
207-
(t (lsp--error "Could not authenticate with copilot: %s" (error-message-string err)))))))
207+
(t (lsp--error "Could not authenticate with Copilot: %s" (error-message-string err)))))))
208208
t)
209209

210210
;; Server installed by emacs

0 commit comments

Comments
 (0)