From 08d7fe35e065a9dfcbdd091ee894887c205846ec Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Tue, 11 Mar 2025 12:02:21 -0400 Subject: [PATCH] Update 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 a16dd75..962c101 100644 --- a/lua/Polydev/c.lua +++ b/lua/Polydev/c.lua @@ -329,7 +329,7 @@ function M.run() end -- Directly use the .polydev file (no need to filter further) - local project_name = vim.fn.fnamemodify(files[1], ":r") + local project_name = vim.fn.fnamemodify(files[1], ":t") M.open_float_terminal("cd " .. build_dir .. " && ./" .. project_name) end