Update c.lua
This commit is contained in:
+1
-1
@@ -233,7 +233,7 @@ function M.build()
|
|||||||
|
|
||||||
local build_project_root = vim.fn.expand(M.config.project_root) .. "/" .. project_name .. "/build"
|
local build_project_root = vim.fn.expand(M.config.project_root) .. "/" .. project_name .. "/build"
|
||||||
|
|
||||||
local compile_command = "cd " .. build_project_root .." cmake .. && make"
|
local compile_command = "cd " .. build_project_root .." && cmake .. && make"
|
||||||
local compile_status = vim.fn.system(compile_command)
|
local compile_status = vim.fn.system(compile_command)
|
||||||
|
|
||||||
if vim.v.shell_error ~= 0 then
|
if vim.v.shell_error ~= 0 then
|
||||||
|
|||||||
Reference in New Issue
Block a user