zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.63k stars 75 forks source link

Disabled ('filetype' yaml rejected by internal_filetypes[yaml]) #237

Closed VladaTrefil closed 10 months ago

VladaTrefil commented 10 months ago

Copilot doesn't work on yaml files and it looks like that's on purpose. I found the source of the issue here.

Seems like there is no way to change it in plugin config and I would have to fork to resolve this problem. Why is there a hardcoded disable for these filetypes?

VladaTrefil commented 10 months ago

I'm dumb, sorry, it's merged with the filetypes in config object. https://github.com/zbirenbaum/copilot.lua#setup-and-configuration