More debug and testing

This commit is contained in:
Jonas Widen 2025-03-16 13:32:26 +01:00
parent ece204da7d
commit 35cda55e5b

View File

@ -1,6 +1,6 @@
-- plugin/gemini/init.lua
print(vim.o.runtimepath)
local api = require("gemini.api")
local api = require("gemini.plugin.gemini.api")
local function gemini_query(prompt)
local response = api.get_response(prompt)
@ -48,7 +48,7 @@ end, { desc = "Query Google AI (via Input)" })
-- Add a setup function (even if it's empty)
local function setup()
print("gemini.setup() called") -- For debugging
local api = require("gemini.api")
local api = require("gemini.plugin.gemini.api")
print("api module loaded:", api) -- For debugging
-- Optional: Add any initialization logic here
end