Closed chrisgrieser closed 4 months ago
Hello. I'm not sure if it is really necessary, because it actually can be useful and completion is working with macros. that means it's no hard default for me then. And I'm not sure that I want to add new option just for this.
Maybe provided example in the documentation/readme is better solution? So users who would find it disctracted as you can just copy/paste it.
Yeah, it's matter of personal preference, I guess. Anyway, it's actually only a two-liner, as I noticed, so adding it yourself isn't as big of a deal.
vim.api.nvim_create_autocmd("RecordingEnter", { command = "NeoCodeium disable" })
vim.api.nvim_create_autocmd("RecordingLeave", { command = "NeoCodeium enable" })
Problem
When recording a macro, neocodium still makes suggestions. It's a bit distracting, especially since you would not want to use AI suggestions during a recording anyway.
It's possible to automatically enable/disable Neocodium via autocommand, but a plugin-side solution is probably cleaner.
Expected behavior
Automatically disable neocodium while recording a macro. Potentially make this an option? (though I personally cannot really think of a case where you'd want AI suggestions while recording.)