Update c.lua
This commit is contained in:
+1
-1
@@ -329,7 +329,7 @@ function M.run()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Directly use the .polydev file (no need to filter further)
|
-- 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)
|
M.open_float_terminal("cd " .. build_dir .. " && ./" .. project_name)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user