CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.65k stars 73 forks source link

fix: send stopinsert command on close #290

Closed kevintraver closed 6 months ago

kevintraver commented 6 months ago

This fixes a bug where the mode remains in insert mode after closing the chat window.

deathbeam commented 6 months ago

This should probably be done from init.lua as that is where startinsert is called as well etc (and stopinsert too)