github / github/copilot.vim

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

オープン
#240 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Vim Script
スター
11.7k
フォーク
810
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。