Skip to content

(feat) Limit number of suggestion lines #617

@F4LCn

Description

@F4LCn

Hi,
I would like to limit the suggestions I get to single line suggestions only, that would be possible through some config and a few changes to update_preview/accept. Is that something you think would benefit the project ?
I know that I can accept single lines but here I am talking about the suggestion virtual text too. I do not want to see blocks of code.

This could also take the form of some generic post-processing function that would take the suggestion lines and (in my case) limit them to the first line.

I feel like it would not be hard to get something working in either case. Let me know if you think this feature is worthwhile and/or if you want me to give it a try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions