This commit is contained in:
Michael Coppola 2024-10-22 03:07:34 -04:00
parent edaa930f84
commit 4f6919ce2e

View file

@ -482,11 +482,11 @@ function! llama#fim(is_auto) abort
\ 'stdout_buffered': v:true \ 'stdout_buffered': v:true
\ }) \ })
elseif s:vim_ghost_text elseif s:vim_ghost_text
let s:current_job = job_start(l:curl_command, { let s:current_job = job_start(l:curl_command, {
\ 'out_cb': function('s:fim_on_stdout', [s:pos_x, s:pos_y, a:is_auto]), \ 'out_cb': function('s:fim_on_stdout', [s:pos_x, s:pos_y, a:is_auto]),
\ 'close_cb': function('s:vim_fim_on_exit'), \ 'close_cb': function('s:vim_fim_on_exit'),
\ 'out_io': 'buffer' \ 'out_io': 'buffer'
\ }) \ })
endif endif
" TODO: per-file location " TODO: per-file location