fixing run error

This commit is contained in:
DarthMooMancer
2025-03-04 13:47:07 -05:00
parent 1f8a2c291d
commit e21c65e35d
+1 -1
View File
@@ -151,7 +151,7 @@ end
-- Run Java program in floating terminal -- Run Java program in floating terminal
function M.run() function M.run()
local current_dir = vim.fn.expand("%:p:h") local current_dir = vim.fn.expand("%:p:h")
local project_root = current_dir:match("(.*)/root/src") local project_root = current_dir:match("(.*)/src")
if not project_root then if not project_root then
print("Error: Must be inside the 'src' directory.") print("Error: Must be inside the 'src' directory.")
return return