Open muhammad-saleh opened 2 months ago
Hi @muhammad-saleh , you can highlight the whole buffer (ggVG
) and then invoke gen.nvim
, or you can invoke it with :%Gen
, would that be enough?
@David-Kunz It would be great if this happens automatically in the background.
I want to improve the suggestions that I get by providing the current open buffer code to the model, in a hope that the model will have more context and hence provide better suggestions.
How can I do that in a custom prompt? I only see $register but it's for yanked text and not the whole buffer.