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 558a0f1 commit 70e4b80Copy full SHA for 70e4b80
lua/live-command/cmd_executor.lua
@@ -4,7 +4,7 @@ local differ = require("live-command.differ")
4
local highlighter = require("live-command.highlighter")
5
local logger = require("live-command.logger")
6
7
----@type string
+---@type string?
8
local latest_cmd
9
10
local running = false
@@ -30,6 +30,7 @@ local setup = function(bufnr)
30
end
31
32
M.teardown = function(do_refetch_lines)
33
+ latest_cmd = nil
34
vim.o.lazyredraw = prev_lazyredraw
35
refetch_lines = do_refetch_lines
36
if vim.v.errmsg ~= "" then
0 commit comments