Skip to content

Commit c1d9ea4

Browse files
committed
Copilot.vim 1.11.1
1 parent 59c0239 commit c1d9ea4

File tree

4 files changed

+237
-228
lines changed

4 files changed

+237
-228
lines changed

autoload/copilot/agent.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ let g:autoloaded_copilot_agent = 1
55

66
scriptencoding utf-8
77

8-
let s:plugin_version = '1.11.0'
8+
let s:plugin_version = '1.11.1'
99

1010
let s:error_exit = -1
1111

@@ -437,8 +437,8 @@ function! s:Command() abort
437437
if !get(g:, 'copilot_ignore_node_version')
438438
if node_version.major == 0
439439
return [v:null, node_version.string, 'Could not determine Node.js version']
440-
elseif node_version.major < 16 || node_version.major == 16 && node_version.minor < 14
441-
" 16.14+ still works for now, but is end-of-life
440+
elseif node_version.major < 16 || node_version.major == 16 && node_version.minor < 14 || node_version.major == 17 && node_version.minor < 3
441+
" 16.14+ and 17.3+ still work for now, but are end-of-life
442442
return [v:null, node_version.string, 'Node.js version 18.x or newer required but found ' . node_version.string]
443443
endif
444444
endif

autoload/copilot/panel.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function! s:Render(panel_id) abort
2525
else
2626
let target = get(state, 'count_target', '?')
2727
let received = has_key(state, 'status') ? target : len(sorted)
28-
let lines = ['Synthesizing ' . received . '/' . target . ' solutions (Duplicates hidden)']
28+
let lines = ['Synthesiz' . (has_key(state, 'status') ? 'ed ' : 'ing ') . received . '/' . target . ' solutions (Duplicates hidden)']
2929
endif
3030
if len(sorted)
3131
call add(lines, 'Press <CR> on a solution to accept')

dist/agent.js

Lines changed: 230 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/agent.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)