diff --git a/README.md b/README.md index 84aa201a..f2e0b2d8 100644 --- a/README.md +++ b/README.md @@ -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` + +Opens the gp.nvim logfile. + #### `:GpInspectPlugin` Inspects the GPT prompt plugin object in a new scratch buffer. diff --git a/lua/gp/config.lua b/lua/gp/config.lua index c80c3c56..40d84090 100644 --- a/lua/gp/config.lua +++ b/lua/gp/config.lua @@ -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