Skip to content

Commit edaa930

Browse files
committed
removed uneeded var
1 parent 3402ab8 commit edaa930

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/llama.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,6 @@ function! s:fim_on_stdout(pos_x, pos_y, is_auto, job_id, data, event = 0)
747747
elseif s:vim_ghost_text
748748
" adapted from:
749749
" https://github.com/github/copilot.vim/blob/release/autoload/copilot.vim
750-
let l:text = s:content
751750
let l:new_suffix = s:content[0]
752751
let l:current_suffix = getline('.')[col('.') - 1 :]
753752
let l:inset = ''
@@ -773,7 +772,7 @@ function! s:fim_on_stdout(pos_x, pos_y, is_auto, job_id, data, event = 0)
773772
\ 'text': l:new_suffix . l:inset
774773
\ })
775774
endif
776-
for line in l:text[1:]
775+
for line in s:content[1:]
777776
call prop_add(line('.'), 0, {
778777
\ 'type': s:hint_hlgroup,
779778
\ 'text': l:new_suffix . line,

0 commit comments

Comments
 (0)