We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dac4f7 commit bdf697dCopy full SHA for bdf697d
lua/codecompanion/interactions/inline/init.lua
@@ -419,6 +419,10 @@ local _streaming = true
419
function Inline:submit(prompt)
420
log:info("[Inline] Request started")
421
422
+ if self.buffer_context.is_visual then
423
+ pcall(vim.cmd.normal, { vim.fn.mode(), bang = true })
424
+ end
425
+
426
-- Inline editing only works with streaming off - We should remember the current status
427
_streaming = self.adapter.opts.stream
428
self.adapter.opts.stream = false
0 commit comments