Skip to content

Commit

Permalink
chore: rename GpInspectLog to GpLog
Browse files Browse the repository at this point in the history
and reference the command in the README
  • Loading branch information
teto committed Oct 15, 2024
1 parent 2372d53 commit 22bbfb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

0 comments on commit 22bbfb9

Please sign in to comment.