Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a :GpLog command #215

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ Choose a new "image agent" based on its name. In the context of images, agent is

Stops all currently running responses and jobs.

#### `:GpLog` <!-- {doc=:GpLog} -->

Opens the gp.nvim logfile.

#### `:GpInspectPlugin` <!-- {doc=:GpInspectPlugin} -->

Inspects the GPT prompt plugin object in a new scratch buffer.
Expand Down
2 changes: 1 addition & 1 deletion lua/gp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ local config = {
end,

-- GpInspectLog for checking the log file
InspectLog = function(plugin, params)
Log = function(plugin, params)
local log_file = plugin.config.log_file
local buffer = plugin.helpers.get_buffer(log_file)
if not buffer then
Expand Down
Loading