Skip to main content
Back to Extensions Directory
coc-github-copilot icon

coc-github-copilot

neoclideCI passing

GitHub Copilot extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-github-copilot
GitHub owner
neoclide
Version
v0.1.3
Requirements
coc ^0.0.82
License
MIT
Repository
GitHub
npm latest published 2026-10-05Registry checked 2026-10-06Registry summary

Published Package Summary

GitHub Copilot

coc-github-copilot

Github copilot support with coc.nvim.

This extension using inline completion feature of coc.nvim, see :h coc-inlineCompletion.

Copilot next edit suggestions use coc.nvim's generic Next Edit interface. See :h coc-next-edit for automatic triggering, mappings and buffer-local controls.

If your network can't access copilot service directly, configure proxy is needed, see :h coc-config-http.

To have service status in vim status line, enable status integration of coc.nvim, see :h coc-status.

Use :CocList services to run or stop the language server.

Use let b:coc_copilot_disable = 1 to disable Copilot inline completion and next edit suggestions for the current buffer.

Install

In your vim/neovim, run command:

:CocInstall coc-github-copilot

Configurations

  • github-copilot.enableCompletion: Enable GitHub Copilot for inline completion Default: true
  • github-copilot.enableCompletionByLanguage: Per-language completion overrides managed by the current-language commands. Default: {}
  • github-copilot.openPanelCommand: Vim command to open github copilot panel for inline completion items. Default: "keepalt vs"
  • github-copilot.filetypes: Enabled filetypes, use "*" or null for all filetypes. Default: ["*"]
  • github-copilot.trace.server.verbosity: Trace level of communication between server and client Default: "messages" Valid options: ["off","messages","compact","verbose"]
  • github-copilot.trace.server.format: Text format of trace messages. Default: "text" Valid options: ["text","json"]
  • github-copilot.statusIcon: Status text, change to  if nerd font works on your vim. Default: "Copilot"
  • github.copilot.selectedCompletionModel: Completion model selected by github-copilot.changeCompletionModel. An empty value uses the server default. Default: ""
  • github-enterprise.uri: If you are using GitHub Copilot Enterprise, set this to the URI of your GitHub Enterprise instance. Default: null

License

MIT

Read the complete README
  • GitHub Copilot extension for coc.nvim
Activation Events
  • *
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

Published with coc-github-copilot@0.1.3 as history.md.

Open source file

0.1.3

  • Merge branch 'main' of github.com:neoclide/coc-github-copilot (423151c)
  • build: lower coc engine requirement to ^0.0.82 (73f9de3)

0.1.2

  • fix: update Copilot next edit model support (2c7ec6f)
  • feat: add Copilot next edit support (95f774c)
  • update coc.nvim (fd98831)

0.1.1

  • add release.yml (e8b4335)
  • update logo (0b32e8c)
  • add logo (99b31ad)

0.1.0

  • Add github-copilot.status and github-copilot.quota diagnostics commands.
  • Add scoped completion controls with github-copilot.enable and github-copilot.disable, including global, language and buffer pickers and explicit disable diagnostics.
  • Add completion model selection from the Copilot language server.
  • Make Panel acceptance safe against target-buffer changes and restore the original editor state after accepting.
  • Show Panel generation progress, candidate counts, completion and errors; preserve snippet placeholders when accepting suggestions.
  • Add github-copilot.diagnostics with extension, Language Server, Node, editor and workspace details, plus log and service restart actions.
  • Add Copilot next edit suggestions through coc.nvim's generic Next Edit interface.