From edaa930f84e3504fdd24b33d45c0789b91784aaa Mon Sep 17 00:00:00 2001 From: Michael Coppola Date: Tue, 22 Oct 2024 02:56:24 -0400 Subject: [PATCH] removed uneeded var --- examples/llama.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/llama.vim b/examples/llama.vim index 7a1e844b1..dc1bb6c61 100644 --- a/examples/llama.vim +++ b/examples/llama.vim @@ -747,7 +747,6 @@ function! s:fim_on_stdout(pos_x, pos_y, is_auto, job_id, data, event = 0) elseif s:vim_ghost_text " adapted from: " https://github.com/github/copilot.vim/blob/release/autoload/copilot.vim - let l:text = s:content let l:new_suffix = s:content[0] let l:current_suffix = getline('.')[col('.') - 1 :] let l:inset = '' @@ -773,7 +772,7 @@ function! s:fim_on_stdout(pos_x, pos_y, is_auto, job_id, data, event = 0) \ 'text': l:new_suffix . l:inset \ }) endif - for line in l:text[1:] + for line in s:content[1:] call prop_add(line('.'), 0, { \ 'type': s:hint_hlgroup, \ 'text': l:new_suffix . line,