Skip to content

Github Copilot#

Server#

For more information about the LSP server, check copilot-node-server.

Installation#

For more instructions on how to install manually, check here.

Debugger: Not available#

Available configurations#

lsp-copilot-applicable-fn#

Type: function

Default: `#[128 \300\207 [t] 2

(fn &rest _)]`

A function which returns whether the copilot is applicable for the buffer. The input are the file name and the major mode of the buffer.


lsp-copilot-enabled#

Type: boolean

Default: t

Whether the server should be started to provide completions.


lsp-copilot-executable#

Type: string

Default: copilot-lsp

The system-wise executable of lsp-copilot. When this executable is not found, you can stil use lsp-install-server to fetch an emacs-local version of the LSP.


lsp-copilot-langserver-command-args#

Type: (repeat string)

Default: (--stdio)

Command to start copilot-langserver.


lsp-copilot-server-disabled-languages#

Type: (repeat string)

Default: nil

The languages for which the server must not be enabled (initialization setup for copilot)


lsp-copilot-server-multi-root#

Type: boolean

Default: t

Whether the copilot server is started with multi-root.


lsp-copilot-version#

Type: (choice (const :tag Latest nil) (string :tag Specific Version))

Default: 1.41.0

Copilot version.



Last update: December 20, 2024