github / github/copilot.vim

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

Offen
#240 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Vim Script
Sterne
11.7k
Forks
810
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.