Skip to content

Commit c54ebfd

Browse files
committed
feat: bump to copilot.vim 1.11.1
1 parent 508ee62 commit c54ebfd

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

lua/copilot/client.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ function M.get_node_version()
7373
"MoreMsg",
7474
},
7575
}, true, {})
76-
elseif node_version_major < 16 or (node_version_major == 16 and node_version_minor < 14) then
76+
elseif
77+
node_version_major < 16
78+
or (node_version_major == 16 and node_version_minor < 14)
79+
or (node_version_major == 17 and node_version_minor < 3)
80+
then
7781
local err = string.format("[Copilot] Node.js version 18.x or newer required but found %s", node_version)
7882
vim.notify(err, vim.log.levels.WARN)
7983
end

lua/copilot/panel.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ function panel:refresh_header()
109109
virt_text = {
110110
{
111111
string.format(
112-
" Synthesizing %s/%s solutions (Duplicates hidden) [%s]",
112+
" %s %s/%s solutions (Duplicates hidden) [%s]",
113+
state.status == "done" and "Synthesized" or "Synthesizing",
113114
state.received_count or "?",
114115
state.expected_count or "?",
115116
state.status or "..."

lua/copilot/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function M.get_editor_info()
2020
editorPluginInfo = {
2121
name = "copilot.lua",
2222
-- reflects version of github/copilot.vim
23-
version = "1.11.0",
23+
version = "1.11.1",
2424
},
2525
}
2626
return info

0 commit comments

Comments
 (0)