fix(copilot): remove tmp nightly fix

This commit is contained in:
Folke Lemaitre
2024-11-20 09:48:29 +01:00
parent 4d596cf4b4
commit 30f556d17a

View File

@ -22,15 +22,6 @@ return {
help = true,
},
},
config = function(_, opts)
require("copilot").setup(opts)
-- HACK: work-around for https://github.com/neovim/neovim/issues/31262
local Util = require("copilot.util")
local language_for_file_type = Util.language_for_file_type
Util.language_for_file_type = function(ft)
return language_for_file_type(ft or "")
end
end,
},
-- add ai_accept action