Skip to content

Commit 5544600

Browse files
committed
Copilot.vim 1.5.1
1 parent da286d8 commit 5544600

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

autoload/copilot/agent.vim

Lines changed: 2 additions & 2 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.5.0'
8+
let s:plugin_version = '1.5.1'
99

1010
let s:error_exit = -1
1111

@@ -375,7 +375,7 @@ function! s:Command() abort
375375
endif
376376
let node_version = matchstr(join(out, ''), '^v\zs\d\+\.[^[:space:]]*')
377377
let major = str2nr(node_version)
378-
let too_new = major >= 18 && node_version !=# '18.0.0'
378+
let too_new = major >= 18
379379
if !get(g:, 'copilot_ignore_node_version')
380380
if major == 0
381381
return [v:null, 'Could not determine Node.js version']

copilot/dist/agent.js

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)