github / github/copilot.vim

Question: Can we suggest one line at a time

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

Is / are there setting(s) that make Copilot only suggest a line at at time? I have a hacky config that achieves this but even then it doesn't do what I would prefer which is only ghost inline whatever completion lands on the current line number I am on, even if it may be incomplete.
I.e.

variable I want to write:
```rust
let foo = bar
.moo
.baz
.ok_or_else(|| format!("hello"))
.await;
```

What I want Copilot to do:
```rust
let foo = bar
.moo
// .baz <---- cursor is here, copilot only suggests the completion of baz instead of entire variable
```

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.