From fe48e5a8e621600c77b1b30ce78dfa65de3bf25c Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 21 Oct 2024 22:13:27 -0600 Subject: [PATCH] Debugging --- lua/in-and-out/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/in-and-out/init.lua b/lua/in-and-out/init.lua index df27351..5bf4f4c 100644 --- a/lua/in-and-out/init.lua +++ b/lua/in-and-out/init.lua @@ -64,9 +64,9 @@ end function M.in_and_out_cmd() local current_pos = vim.fn.getcmdpos() - local target_pos = nil local line = vim.fn.getcmdline() + vim.notify(current_pos .. line) for _, char in ipairs(targets) do local found_pos = string.find(line, escape_lua_pattern(char), current_pos + 1) if found_pos and (not target_pos or found_pos < target_pos) then