diff --git a/lua/godotdev/start_editor_server.lua b/lua/godotdev/start_editor_server.lua index f6bd08a..5fea30e 100644 --- a/lua/godotdev/start_editor_server.lua +++ b/lua/godotdev/start_editor_server.lua @@ -12,6 +12,8 @@ local function start_editor_server(pipe) vim.notify("Godot editor server started on " .. pipe, vim.log.levels.INFO) end +M.start_editor_server = start_editor_server + -- User command vim.api.nvim_create_user_command("GodotStartEditorServer", function(opts) start_editor_server(opts.args ~= "" and opts.args or nil)