|
1 |
| -;;; lsp-copilot.el --- lsp-mode client for copilot -*- lexical-binding: t -*- |
| 1 | +;;; lsp-copilot.el --- lsp-mode client for Copilot -*- lexical-binding: t -*- |
2 | 2 |
|
3 | 3 | ;; Copyright (C) 2024 Rodrigo Virote Kassick
|
4 | 4 |
|
@@ -64,18 +64,18 @@ lsp-install-server to fetch an emacs-local version of the LSP."
|
64 | 64 | :group 'lsp-copilot)
|
65 | 65 |
|
66 | 66 | (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. |
68 | 68 | The input are the file name and the major mode of the buffer."
|
69 | 69 | :type 'function
|
70 | 70 | :group 'lsp-copilot)
|
71 | 71 |
|
72 | 72 | (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)" |
74 | 74 | :type '(repeat string)
|
75 | 75 | :group 'lsp-copilot)
|
76 | 76 |
|
77 | 77 | (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." |
79 | 79 | :type 'boolean
|
80 | 80 | :group 'lsp-copilot)
|
81 | 81 |
|
@@ -129,7 +129,7 @@ The input are the file name and the major mode of the buffer."
|
129 | 129 |
|
130 | 130 | ;;;###autoload
|
131 | 131 | (defun lsp-copilot-login ()
|
132 |
| - "Log in with copilot. |
| 132 | + "Log in with Copilot. |
133 | 133 |
|
134 | 134 | This function is automatically called during the client initialization if needed"
|
135 | 135 | (interactive)
|
@@ -204,7 +204,7 @@ automatically, browse to %s." user-code verification-uri))
|
204 | 204 | (condition-case err
|
205 | 205 | (unless (lsp-copilot--authenticated-as)
|
206 | 206 | (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))))))) |
208 | 208 | t)
|
209 | 209 |
|
210 | 210 | ;; Server installed by emacs
|
|
0 commit comments