copilot-cmp

Maintainers: Gaetan Lepage

plugins.copilot-cmp.enable

Whether to enable copilot-cmp.

Type: boolean

Default: false

Example: true

Declared by:

plugins.copilot-cmp.event

Configures when the source is registered. Unless you have a unique problem for your particular configuration you probably don’t want to touch this.

Plugin default: ["InsertEnter" "LspAttach"]

Type: null or (list of string)

Default: null

Declared by:

plugins.copilot-cmp.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.copilot-cmp.fixPairs

Suppose you have the following code: print('h'). Copilot might try to account for the ' and ) and complete it with this: print('hello.

This is not good behavior for consistency reasons and will just end up deleting the two ending characters. This option fixes that. Don’t turn this off unless you are having problems with pairs and believe this might be causing them.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: