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)