Skip to content

Commit 01ccbed

Browse files
committed
remove temporarily
1 parent ba03148 commit 01ccbed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

autoload/copilot.vim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
scriptencoding utf-8
22

3-
let thinkingWindow
3+
"let thinkingWindow"
44
let s:has_nvim_ghost_text = has('nvim-0.7') && exists('*nvim_buf_get_mark')
55
let s:vim_minimum_version = '9.0.0185'
66
let s:has_vim_ghost_text = has('patch-' . s:vim_minimum_version) && has('textprop')
@@ -321,11 +321,11 @@ function! s:UpdatePreview() abort
321321
endif
322322
if empty(text) || !s:has_ghost_text
323323
"call s:Echo('Done')"
324-
if has('nvim')
324+
"if has('nvim')
325325
call nvim_win_close(thinkingWindow, v:true)
326326
else
327327
call win_execute(thinkingWindow, 'close')
328-
endif
328+
endif"
329329
return s:ClearPreview()
330330
endif
331331
if exists('b:_copilot.cycling_callbacks')
@@ -430,7 +430,7 @@ function! copilot#Schedule() abort
430430
endif
431431
"call s:Echo('Copilot Thinking ' . "\uF1E6")"
432432

433-
let buf = nvim_create_buf(v:false, v:true)
433+
"let buf = nvim_create_buf(v:false, v:true)
434434

435435
" Set the buffer content to the desired icon or text
436436
call nvim_buf_set_lines(buf, 0, -1, v:false, [' 🔍'])
@@ -450,7 +450,7 @@ function! copilot#Schedule() abort
450450
\ 'border': 'none',
451451
\ }
452452

453-
let thinkingWindow = nvim_open_win(buf, v:false, win_opts)
453+
let thinkingWindow = nvim_open_win(buf, v:false, win_opts)"
454454

455455

456456
call s:UpdatePreview()

0 commit comments

Comments
 (0)