Skip to main content

Configuring GitHub Copilot in Neovim

You can enable, configure, and disable Copiloto de GitHub in Neovim.

Copiloto de GitHub is available to GitHub customers with a personal account on GitHub.com. Copiloto de GitHub is free to use for verified students and maintainers of popular open source projects. If you are not a student or maintainer of a popular open source project, you can try Copiloto de GitHub for free with a one-time 60 day trial. Después del periodo de prueba gratuito, necesitarás una suscripción de pago para uso continuo. Para obtener más información, consulta la sección "Acerca de la facturación para el Copiloto de GitHub".

Configuring Copiloto de GitHub in Neovim

For guidance on configuring Copiloto de GitHub in Neovim, invoke the Copiloto de GitHub documentation in Neovim by running the following command.

:help copilot

Configuring Copiloto de GitHub settings on GitHub.com

Una vez que tengas un periodo de prueba o suscripción del Copiloto de GitHub, puedes configurar los ajustes del Copiloto de GitHub en tu cuenta personal de GitHub en los ajustes del Copiloto de GitHub. The settings apply anywhere that you use Copiloto de GitHub. You can configure the suggestions that Copiloto de GitHub offers and how GitHub uses your telemetry data.

Enabling or disabling duplication detection

Copiloto de GitHub includes a filter which detects code suggestions matching public code on GitHub. You can choose to enable or disable the filter. When the filter is enabled, Copiloto de GitHub checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match or near match, the suggestion will not be shown to you.

  1. En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración.

    Icono Settings (Parámetros) en la barra de usuario

  2. In the left sidebar, click GitHub Copilot.

  3. Under Suggestions matching public code, select the dropdown menu, then click Allow to allow suggestions matching public code, or Block to block suggestions matching public code. Screenshot of duplication detection option

  4. To confirm your new settings, click Save.

Enabling or disabling telemetry

You can choose whether your code snippets are collected and retained by GitHub and further processed and shared with Microsoft and OpenAI by adjusting your user settings. For more information about data that Copiloto de GitHub may collect depending on your telemetry settings, see "GitHub Terms for Additional Products and Features" and the Copiloto de GitHub privacy FAQ.

  1. En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración.

    Icono Settings (Parámetros) en la barra de usuario

  2. In the left sidebar, click GitHub Copilot.

  3. To allow or prevent GitHub using your telemetry data, select or deselect Allow GitHub to use my code snippets for product improvements. Screenshot of telemetry option

  4. To confirm your new settings, click Save.

Leer más