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

Visual Line mode improperly copies #17

Open
bogzbonny opened this issue Dec 9, 2024 · 0 comments
Open

Visual Line mode improperly copies #17

bogzbonny opened this issue Dec 9, 2024 · 0 comments

Comments

@bogzbonny
Copy link

When using om from visual line mode the code fed in to the llm (ollama in my case) doesn't work properly. For instance, recently have all these lines copied for some code:

            out.extend(dcps.into_par_iter().filter_map(|mut dcp| {
                dcp.update_colors_for_time_and_pos(child_s, d);
                dcp.x += start_x as u16;
                dcp.y += start_y as u16;
                Some(dcp)
            }));

What the startup conversation I get with the llm is (first variable missing)

            extend(dcps.into_par_iter().filter_map(|mut dcp| {
                dcp.update_colors_for_time_and_pos(child_s, d);
                dcp.x += start_x as u16;
                dcp.y += start_y as u16;
                Some(dcp)
            }));

I've tried this on several different code blocks and usually the first object is missing if I run Oatmeal from visual-line mode.

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

No branches or pull requests

1 participant