Skip to content

Commit 4f6329c

Browse files
authored
feat: stop using 'copilot.vim' in editorPluginInfo (zbirenbaum#207)
1 parent b5e7675 commit 4f6329c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lua/copilot/command.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function mod.version()
99

1010
local lines = {
1111
info.editorInfo.name .. " " .. info.editorInfo.version,
12-
info.editorPluginInfo.name .. " " .. info.editorPluginInfo.version,
12+
"copilot.vim" .. " " .. info.editorPluginInfo.version,
1313
"copilot.lua" .. " " .. u.get_copilot_lua_version(),
1414
}
1515

lua/copilot/util.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function M.get_editor_info()
1818
version = string.match(vim.fn.execute("version"), "NVIM v(%S+)"),
1919
},
2020
editorPluginInfo = {
21-
name = "copilot.vim",
21+
name = "copilot.lua",
22+
-- reflects version of github/copilot.vim
2223
version = "1.10.0",
2324
},
2425
}

0 commit comments

Comments
 (0)