From 1e187a9ef3b1e9a4854c971c2bf1af21d3df8e39 Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 14 May 2024 21:37:46 -0400 Subject: [PATCH] 624 current 2024-05-14 21:37:41 24.05.20240512.2057814 6.8.6-zen1 * --- modules/home-manager/vim/config/lua/utils/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/vim/config/lua/utils/functions.lua b/modules/home-manager/vim/config/lua/utils/functions.lua index 751c77a..3aa33fd 100644 --- a/modules/home-manager/vim/config/lua/utils/functions.lua +++ b/modules/home-manager/vim/config/lua/utils/functions.lua @@ -21,7 +21,7 @@ M.freeze = function() local path = "./._freeze.png" -- Execute the 'Freeze' command on the selected range - vim.cmd("Freeze") + vim.cmd("Freeze") -- Run the shell command 'wl-copy ' after 'Freeze' completes vim.fn.system("wl-copy < " .. path) @@ -39,7 +39,7 @@ M.freeze_selection = function() local end_line = vim.fn.getpos("'>")[2] -- line number of the end of selection -- Execute the 'Freeze' command on the selected range - vim.cmd(start_line .. "," .. end_line .. "Freeze") + vim.cmd('' .. start_line .. ',' .. end_line .. 'Freeze') -- Run the shell command 'wl-copy ' after 'Freeze' completes vim.fn.system("wl-copy < " .. path)