Skip to content

Commit a54e7b1

Browse files
committed
feat: bump to copilot.vim 1.8.2
1 parent f6d159e commit a54e7b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lua/copilot/util.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function M.get_editor_info()
1919
},
2020
editorPluginInfo = {
2121
name = "copilot.vim",
22-
version = "1.8.1",
22+
version = "1.8.2",
2323
},
2424
}
2525
return info
@@ -229,7 +229,9 @@ function M.get_editor_configuration()
229229

230230
return {
231231
enableAutoCompletions = not not (conf.panel.enabled or conf.suggestion.enabled),
232-
disabledLanguages = disabled_filetypes,
232+
disabledLanguages = vim.tbl_map(function(ft)
233+
return { languageId = ft }
234+
end, disabled_filetypes),
233235
}
234236
end
235237

0 commit comments

Comments
 (0)