github / github/copilot.vim

Copilot Auto-Complete adds "<80>@7kD"

Abierto
#240 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Vim Script
Estrellas
11.7k
Forks
810
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Problem
- When I try to autocomplete the **suggestions given from copilot**, then at the end it adds the character "**<80>@7**" , and if i autocomplete inside the **brackets** then it adds "**<80>@7kD**" in the start and "**<80>@7**" in the end.

## Configs

- I use NvChad as my neovim configuration and here is the mapping configuration for it.

```lua
map("i", "", function()
return vim.fn["copilot#Accept"]()
end, {
desc = "Copilot Accept",
expr = true,
silent = true,
noremap = true,
replace_keycodes = true
})
```

## Error Reference

```go
fmt.Println("Visit http://localhost:8080/hello for greeting")<80>@7
```

**Although the <80> is hidden but shown in the neovim**

when i open the same line of code in the VS Code it shows like this :

Image

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.