Restructure
This commit is contained in:
parent
35cda55e5b
commit
dad689ded2
@ -1,6 +1,6 @@
|
||||
-- plugin/gemini/init.lua
|
||||
print(vim.o.runtimepath)
|
||||
local api = require("gemini.plugin.gemini.api")
|
||||
require("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.plugin.gemini.api")
|
||||
require("gemini.api")
|
||||
print("api module loaded:", api) -- For debugging
|
||||
-- Optional: Add any initialization logic here
|
||||
end
|
7
plugin/gemini.lua
Normal file
7
plugin/gemini.lua
Normal file
@ -0,0 +1,7 @@
|
||||
if vim.g.loaded_gemini then
|
||||
return
|
||||
end
|
||||
vim.g.loaded_gemini = true
|
||||
|
||||
-- Optional: Auto-setup the plugin
|
||||
-- require("gemini").setup()
|
Loading…
x
Reference in New Issue
Block a user