From: Georgi Gerganov Date: Mon, 21 Oct 2024 19:52:22 +0000 (+0300) Subject: llama.vim : move info to the right of screen [no ci] (#9787) X-Git-Tag: upstream/0.0.4488~533 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e01c67affe450638162a1a457e2e57859ef6ebf0;p=pkg%2Fggml%2Fsources%2Fllama.cpp llama.vim : move info to the right of screen [no ci] (#9787) 'eol' messes up the rendering with nvim v0.10.2 for some reason --- diff --git a/examples/llama.vim b/examples/llama.vim index e75872ca..9af451fb 100644 --- a/examples/llama.vim +++ b/examples/llama.vim @@ -668,13 +668,14 @@ function! s:fim_on_stdout(job_id, data, event) dict endif if g:llama_config.show_info == 1 - "" display it in the statusline + " display it in the statusline let &statusline = l:info elseif g:llama_config.show_info == 2 " display it to the right of the current line call nvim_buf_set_extmark(l:bufnr, l:id_vt_info, s:pos_y - 1, s:pos_x - 1, { \ 'virt_text': [[l:info, 'llama_hl_info']], - \ 'virt_text_pos': 'eol', + "\ 'virt_text_pos': 'eol', + \ 'virt_text_pos': 'right_align', \ }) endif endif