From 2bcef344a8cdfddea352de196bae43da608dcb92 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Mon, 7 Apr 2025 09:16:11 -0400 Subject: [PATCH] Changed build for c.lua --- lua/Polydev/c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/Polydev/c.lua b/lua/Polydev/c.lua index 9b9cedc..c31e916 100644 --- a/lua/Polydev/c.lua +++ b/lua/Polydev/c.lua @@ -172,7 +172,7 @@ end function M.build() local root = M.get_project_root() if not root then return print("Error: Project root not found.") end - local cmd = "cd " .. root .. "/build && cmake .. && make" + local cmd = "cd " .. "../build && cmake .. && make" local term_buf = M.open_float_terminal(cmd) vim.api.nvim_buf_set_option(term_buf, "modifiable", true) local output = vim.fn.system(cmd)