updated error message

This commit is contained in:
roodletoof
2023-08-14 01:24:44 +02:00
parent f684938067
commit ad79897306
+4 -1
View File
@@ -319,7 +319,10 @@ do
local run_script_path = vim.fn.getcwd() .. "/" .. run_script_name local run_script_path = vim.fn.getcwd() .. "/" .. run_script_name
if not file_exists(run_script_path) then if not file_exists(run_script_path) then
error( "The run script: '" .. run_script_path .. "' does not exist") error(
"The run script: '" .. run_script_path .. "' does not exist.\n"..
"All this command does, is to execute that file."
)
end end
vim.cmd('!sh ' .. run_script_path) vim.cmd('!sh ' .. run_script_path)