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

Open
noisethanks wants to merge 1 commit from noisethanks/single_line_preview_options into main
noisethanks commented 2025-01-31 07:27:12 -05:00 (Migrated from github.com)

This pull request addresses the following issues.

https://github.com/supermaven-inc/supermaven-nvim/issues/66
https://github.com/supermaven-inc/supermaven-nvim/issues/69
https://github.com/supermaven-inc/supermaven-nvim/issues/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

This pull request addresses the following issues. https://github.com/supermaven-inc/supermaven-nvim/issues/66 https://github.com/supermaven-inc/supermaven-nvim/issues/69 https://github.com/supermaven-inc/supermaven-nvim/issues/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](https://github.com/user-attachments/assets/46b6d938-0a6f-425d-80d3-f2be3c9d2ab1) ![supermaven2](https://github.com/user-attachments/assets/031cfdd9-9e95-4a5c-88f8-e033db1fc897)
porl commented 2025-04-10 05:03:24 -04:00 (Migrated from github.com)

I've temporarily switched to use your branch to enable this function. Works great thank you. Hopefully it will be merged into this main one soon.

I've temporarily switched to use your branch to enable this function. Works great thank you. Hopefully it will be merged into this main one soon.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin noisethanks/single_line_preview_options:noisethanks/single_line_preview_options
git switch noisethanks/single_line_preview_options

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff noisethanks/single_line_preview_options
git switch noisethanks/single_line_preview_options
git rebase main
git switch main
git merge --ff-only noisethanks/single_line_preview_options
git switch noisethanks/single_line_preview_options
git rebase main
git switch main
git merge --no-ff noisethanks/single_line_preview_options
git switch main
git merge --squash noisethanks/single_line_preview_options
git switch main
git merge --ff-only noisethanks/single_line_preview_options
git switch main
git merge noisethanks/single_line_preview_options
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
supermaven-inc/supermaven-nvim!128
No description provided.