github / github/copilot.vim

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

Open
#240 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
11.7k
Forks
810
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.