Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some new options for single line completion previews. #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noisethanks
Copy link

This pull request addresses the following issues.

#66
#69
#80

The two new options render all single line completions on a new virtual line, just like multi-line completions.
The show_diff_only option pads the suggestion with whitespace instead of the existing text.

supermaven
supermaven2

line completion previews can be rendered on a new line, just like
multi-line completions by adding them to the virt_lines group.
the single_line_suggestion_newline option enables it.
The second option, show_diff_only, if true, pads the single line suggesions with whitespace instead of the existing text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant