Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

copilot-lsp

URL: https://github.com/copilotlsp-nvim/copilot-lsp/

Maintainers: Austin Horstman


A lightweight and extensible Neovim plugin for integrating GitHub Copilot's AI-powered code suggestions via Language Server Protocol (LSP).

note

This plugin requires the copilot-language-server. Either enable through copilot-lua plugin or install manually.

plugins.copilot-lsp.enable

Whether to enable copilot-lsp.

Type: boolean

Default: false

Example: true

Declared by:

plugins.copilot-lsp.package

The copilot-lsp package to use.

Type: package

Default: pkgs.vimPlugins.copilot-lsp

Declared by:

plugins.copilot-lsp.autoLoad

Whether to automatically load copilot-lsp when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.copilot-lsp.settings

Options provided to the require('copilot-lsp').setup function.

Type: open submodule of attribute set of anything

Default: { }

Example:

{
  nes = {
    distance_threshold = 100;
    move_count_threshold = 5;
    reset_on_approaching = false;
  };
}

Declared by: