blink-copilot

URL: https://github.com/fang2hou/blink-copilot/

Maintainers: Austin Horstman


This plugin should be configured through blink-cmp's sources.providers settings.

For example:

plugins.blink-cmp = {
  enable = true;
  settings.sources.providers = {
    copilot = {
      async = true;
      module = "blink-copilot";
      name = "copilot";
      score_offset = 100;
      # Optional configurations
      opts = {
        max_completions = 3;
        max_attempts = 4;
        kind = "Copilot";
        debounce = 750;
        auto_refresh = {
          backward = true;
          forward = true;
        };
      };
    };
  };
};

And then you can add it to blink-cmp's sources.default option:

plugins.blink-cmp = {
  enable = true;
  settings.sources.default = [
    "lsp"
    "path"
    "luasnip"
    "buffer"
    "copilot"
  ];
};

Whether to enable blink-copilot.

Type: boolean

Default: false

Example: true

Declared by:

The blink-copilot package to use.

Type: package

Default: pkgs.vimPlugins.blink-copilot

Declared by:

Whether to automatically load blink-copilot when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by: