From ad7989730618cc879291191191338040bb09e081 Mon Sep 17 00:00:00 2001 From: roodletoof <68161791+roodletoof@users.noreply.github.com> Date: Mon, 14 Aug 2023 01:24:44 +0200 Subject: [PATCH] updated error message --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a3693f2..969b7c7 100644 --- a/init.lua +++ b/init.lua @@ -319,7 +319,10 @@ do local run_script_path = vim.fn.getcwd() .. "/" .. run_script_name 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 vim.cmd('!sh ' .. run_script_path)