copilot-cmp
URL: https://github.com/zbirenbaum/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.package
The copilot-cmp package to use.
Type: package
Default:
pkgs.vimPlugins.copilot-cmp
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.
Type: null or (list of (string or raw lua code))
Default:
null
Plugin default:
[
"InsertEnter"
"LspAttach"
]
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.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by: