Fix error of test/run not working

This commit is contained in:
2025-09-07 00:45:13 +03:00
parent 3c376d7afc
commit 7d09b4b63e

View File

@@ -160,7 +160,7 @@ local compile = function()
end
local run = function()
if vim.g.project_run_cmd then
run_project(vim.g.project_compile_cmd)
Compile_project(vim.g.project_compile_cmd)
-- vim.notify(vim.g.project_run_cmd)
else
vim.notify('vim.g.project_run_cmd is not set', 'warn')
@@ -168,7 +168,7 @@ local run = function()
end
local test = function()
if vim.g.project_test_cmd then
test_project(vim.g.project_compile_cmd)
Compile_project(vim.g.project_compile_cmd)
-- vim.notify(vim.g.project_test_cmd)
else
vim.notify('vim.g.project_test_cmd is not set', 'warn')