36
36
" Copilot LSP configuration"
37
37
:group 'lsp-mode
38
38
:tag " Copilot LSP"
39
- :link '(url-link " https://www.npmjs.com/package/copilot-node -server" ))
39
+ :link '(url-link " https://www.npmjs.com/package/@github/ copilot-language -server" ))
40
40
41
41
(defcustom lsp-copilot-enabled nil
42
42
" Whether the server should be started to provide completions."
48
48
:type '(repeat string)
49
49
:group 'lsp-copilot )
50
50
51
- (defcustom lsp-copilot-executable " copilot-lsp "
51
+ (defcustom lsp-copilot-executable " copilot-language-server "
52
52
" The system-wise executable of lsp-copilot.
53
53
When this executable is not found, you can stil use
54
54
lsp-install-server to fetch an emacs-local version of the LSP."
@@ -71,16 +71,16 @@ The input are the file name and the major mode of the buffer."
71
71
:type 'boolean
72
72
:group 'lsp-copilot )
73
73
74
- (defcustom lsp-copilot-version " 1.41 .0"
74
+ (defcustom lsp-copilot-version " 1.270 .0"
75
75
" Copilot version."
76
76
:type '(choice (const :tag " Latest" nil )
77
77
(string :tag " Specific Version" ))
78
78
:group 'lsp-copilot )
79
79
80
80
(lsp-dependency 'copilot-ls
81
81
`(:system , lsp-copilot-executable )
82
- '(:npm :package " copilot-node -server"
83
- :path " copilot-node -server"
82
+ '(:npm :package " @github/ copilot-language -server"
83
+ :path " copilot-language -server"
84
84
:version lsp-copilot-version))
85
85
86
86
(defun lsp-copilot--find-active-workspaces ()
@@ -211,6 +211,7 @@ automatically, browse to %s." user-code verification-uri))
211
211
(" $/progress" (lambda (&rest args ) (lsp-message " $/progress with %S" args)))
212
212
(" featureFlagsNotification" #'ignore )
213
213
(" statusNotification" #'ignore )
214
+ (" didChangeStatus" #'ignore )
214
215
(" window/logMessage" #'lsp--window-log-message )
215
216
(" conversation/preconditionsNotification" #'ignore ))))
216
217
0 commit comments