Skip to content

Commit

Permalink
chore: change logfile location
Browse files Browse the repository at this point in the history
  • Loading branch information
frankroeder committed Aug 6, 2024
1 parent 1908042 commit 3f869c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ require("parrot").setup {
- I am encountering errors related to the state.
> If the state is corrupted, simply delete the file `~/.local/share/nvim/parrot/persisted/state.json`.
- The completion feature is not functioning, and I am receiving errors.
> Ensure that you have an adequate amount of API credits and examine the log file `/tmp/parrot.nvim.log` for any errors.
> Ensure that you have an adequate amount of API credits and examine the log file `~/.local/state/nvim/parrot.nvim.log` for any errors.
- I have discovered a bug, have a feature suggestion, or possess a general idea to enhance this project.
> Everyone is invited to contribute to this project! If you have any suggestions, ideas, or bug reports, please feel free to submit an issue.
Expand Down
2 changes: 1 addition & 1 deletion lua/parrot/logger.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {
_plugin_name = "parrot.nvim",
_logfile = vim.fn.stdpath("data") .. "/parrot.nvim.log",
_logfile = vim.fn.stdpath("state") .. "/parrot.nvim.log",
}

if pcall(require, "notify") then
Expand Down

0 comments on commit 3f869c1

Please sign in to comment.