Currently when accepting a completion the suffix after the cursor is not replaced, as shown in the recording the closing } remains which is part of the completion:
The Codeium API response contains information about where the completion ends that can be used to pass the full range to cmp, which results in the following:
Currently when accepting a completion the suffix after the cursor is not replaced, as shown in the recording the closing
}
remains which is part of the completion:https://github.com/jcdickinson/codeium.nvim/assets/4812676/ce171113-da2e-4e3e-b22b-d47ede676824
The Codeium API response contains information about where the completion ends that can be used to pass the full range to cmp, which results in the following:
https://github.com/jcdickinson/codeium.nvim/assets/4812676/d1a8c4ec-bed1-416f-837c-f2f00700d978
Thanks for the great plugin 🙏