Skip to content

LLM suggestions overwrite existing code #55

@vsavkin2018

Description

@vsavkin2018

In Insert mode, several lines of suggestions may overwrite existing code, e.g. a beginning of the next function.

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Feb 16 2025 05:23:41)
Included patches: 1-1378, 1499, 1532, 1848, 1858, 1873, 1969, 2142
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org

g:ollama_model = 'starcoder2:15b'

Image

Image

(before and after)

Whether I accept or deny this suggestion, some code is overwritten.

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