Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim
https://codeium.com
MIT License
3.72k stars 127 forks source link

bug: codeium#Accept completing only current line when multiline empty parenthesis #43

Closed Rational-Curiosity closed 1 year ago

Rational-Curiosity commented 1 year ago

Config: .config/nvim NVIM Versión: v0.9.0-dev-829+gaec4b476c

Virtual text suggestion between [], cursor |:

fn factorial_recursive (n: u64) -> u64 {
    match n {
        0 => 1,
        _ => n * factorial_recursive(n-1)
    };
    ma|[tch n {

    }]
}

call codeium#Accept

fn factorial_recursive (n: u64) -> u64 {
    match n {
        0 => 1,
        _ => n * factorial_recursive(n-1)
    };
    match n {|
}

rust code but same in typescript and ...

pqn commented 1 year ago

Thanks for the report, working on this fix for this.