github / github/copilot.vim

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

Aperta
#240 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Vim Script
Stelle
11.7k
Fork
810
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.