From 1c2794fdff763c37931b52a54d443f60acb7a367 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Mon, 10 Mar 2025 13:05:35 -0400 Subject: [PATCH] Update c.lua --- lua/Polydev/c.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/Polydev/c.lua b/lua/Polydev/c.lua index 3d99fb3..b3f7c34 100644 --- a/lua/Polydev/c.lua +++ b/lua/Polydev/c.lua @@ -243,11 +243,11 @@ function M.build() print("Could not go into build dir:\n" .. into_build_status) end - local project_root_build = current_dir:match("(.*)/build") - if not project_root_build then - print("Error: Must be inside the 'build' directory.") - return - end + -- local project_root_build = current_dir:match("(.*)/build") + -- if not project_root_build then + -- print("Error: Must be inside the 'build' directory.") + -- return + -- end local compile_command = "cmake .. && make" local compile_status = vim.fn.system(compile_command)