Update init.lua
This commit is contained in:
@@ -18,7 +18,8 @@ end
|
||||
|
||||
-- Create a new Java project
|
||||
function M.create_project()
|
||||
vim.ui.input({ prompt = "Enter project name: " }, function(project_name)
|
||||
local project_name = vim.fn.input("Enter project name: ")
|
||||
|
||||
-- Debug: Print the project_name
|
||||
print("Input received: " .. (project_name or "nil"))
|
||||
|
||||
@@ -58,7 +59,6 @@ public class Main {
|
||||
else
|
||||
print("Error creating Main.java")
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user