copilot-cmp
copilot-cmp copied to clipboard
Lua plugin to turn github copilot into a cmp source
There are more fixes to be done, but I will leave those just in my fork to not clutter the diff so much. This is also not the prettiest fix,...
Hi! I'm opening this issue since I was hoping for a way to ask Copilot to wait for some x amount of time before bringing up suggestions again. I've found...
correct handling of utf8 string truncation
Here is a screenshot of how it looks:  It works fine for Lua: 
``` local has_words_before = function() if vim.api.nvim_buf_get_option(0, "buftype") == "prompt" then return false end local line, col = unpack(vim.api.nvim_win_get_cursor(0)) return col ~= 0 and vim.api.nvim_buf_get_text(0, line-1, 0, line-1, col, {})[1]:match("^%s*$")...
Upgraded to the latest neovim version and started seeing the following message ``` vim.lsp.get_active_clients() is deprecated, use vim.lsp.get_clients() instead. :help deprecated Feature will be removed in Nvim 0.12 ```
Addressing some cases in #45. Fixed the logic for calculating indentation in format.lua. Previously in the case of shiftwidth=0, the indent was not using the value of tabstop, leading to...
Hey, I absolutely love this plugin! It's working flawlessly! I'd love one improvement: It would be cool, if the selection in cmp could automatically jump to the first Copilot suggestion....
Copilot.lua is responsible for a disproportionately large number of rate limited completions requests, with the culprit appearing to be copilot-cmp. **Users of this combo are at risk of having their...