diff --git a/lua/copilot/command.lua b/lua/copilot/command.lua index c79afe79..906ba622 100644 --- a/lua/copilot/command.lua +++ b/lua/copilot/command.lua @@ -9,7 +9,7 @@ function mod.version() local lines = { info.editorInfo.name .. " " .. info.editorInfo.version, - info.editorPluginInfo.name .. " " .. info.editorPluginInfo.version, + "copilot.vim" .. " " .. info.editorPluginInfo.version, "copilot.lua" .. " " .. u.get_copilot_lua_version(), } diff --git a/lua/copilot/util.lua b/lua/copilot/util.lua index f4d51c88..acc0b583 100644 --- a/lua/copilot/util.lua +++ b/lua/copilot/util.lua @@ -18,7 +18,8 @@ function M.get_editor_info() version = string.match(vim.fn.execute("version"), "NVIM v(%S+)"), }, editorPluginInfo = { - name = "copilot.vim", + name = "copilot.lua", + -- reflects version of github/copilot.vim version = "1.10.0", }, }