Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed uneeded var
  • Loading branch information
m18coppola committed Oct 22, 2024
commit edaa930f84e3504fdd24b33d45c0789b91784aaa
3 changes: 1 addition & 2 deletions examples/llama.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -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,
Expand Down